.lfdc-gallery-wrap{--lfdc-gap:6px;--lfdc-mobile-cols:2;margin:24px 0;}
.lfdc-group-filters{flex-wrap:wrap;}
.lfdc-group-filters button{cursor:pointer;}
.lfdc-photo-layout{gap:var(--lfdc-gap);}
.lfdc-photo-item{margin:0;position:relative;overflow:hidden;}
.lfdc-photo-item img{display:block;width:100%;height:100%;object-fit:cover;}
.lfdc-photo-item figcaption{font-size:.9em;padding:6px 2px;}
.lfdc-layout-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
.lfdc-layout-grid .lfdc-photo-item{aspect-ratio:1/1;}
.lfdc-layout-masonry{columns:4;column-gap:var(--lfdc-gap);}
.lfdc-layout-masonry .lfdc-photo-item{break-inside:avoid;margin-bottom:var(--lfdc-gap);}
.lfdc-layout-masonry .lfdc-photo-item img{height:auto;}
.lfdc-layout-justified{display:flex;flex-wrap:wrap;}
.lfdc-layout-justified .lfdc-photo-item{height:220px;flex:1 1 280px;}
.lfdc-layout-carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;}
.lfdc-layout-carousel .lfdc-photo-item{flex:0 0 min(78vw,520px);height:350px;scroll-snap-align:start;}
.lfdc-layout-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
.lfdc-layout-featured .lfdc-photo-item{aspect-ratio:1/1;}
.lfdc-layout-featured .lfdc-photo-item.is-featured{grid-column:span 3;grid-row:span 3;aspect-ratio:auto;min-height:500px;}
.lfdc-group-section{margin:34px 0;}
.lfdc-group-section h2{margin-bottom:14px;}
.lfdc-group-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.lfdc-group-card{position:relative;border:0;padding:0;background:#111;color:#fff;cursor:pointer;overflow:hidden;min-height:250px;text-align:left;}
.lfdc-group-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;opacity:.65;}
.lfdc-group-card span{position:absolute;left:18px;bottom:16px;z-index:2;display:flex;flex-direction:column;}
.lfdc-group-card strong{font-size:1.35rem;}
.lfdc-group-card small{margin-top:4px;}
.lfdc-card-panel{display:none;margin-top:32px;}
.lfdc-card-panel.is-open{display:block;}
.lfdc-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;}
.lfdc-lightbox.is-open{display:flex;}
.lfdc-lb-open{overflow:hidden;}
.lfdc-lb-inner{color:#fff;}
.lfdc-lb-inner img{max-width:92vw;max-height:82vh;object-fit:contain;}
.lfdc-lb-download{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;padding:10px 18px;border:1px solid rgba(255,255,255,.9);border-radius:6px;background:rgba(0,0,0,.58);color:#fff;font:inherit;font-weight:600;line-height:1.2;cursor:pointer;text-decoration:none;appearance:none;-webkit-appearance:none;}
.lfdc-lb-download:hover, .lfdc-lb-download:focus{background:#fff;color:#111;outline:none;}
.lfdc-lb-download[hidden]{display:none!important;}
.lfdc-lb-close, .lfdc-lb-prev, .lfdc-lb-next{position:absolute;cursor:pointer;}
.lfdc-lb-close{line-height:1;}
.lfdc-lb-prev, .lfdc-lb-next{top:50%;transform:translateY(-50%);}
@media (max-width:900px){
  .lfdc-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .lfdc-layout-masonry{columns:3;}
  .lfdc-group-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lfdc-layout-featured .lfdc-photo-item.is-featured{grid-column:span 4;min-height:420px;}
}
@media (max-width:600px){
  .lfdc-layout-grid{grid-template-columns:repeat(var(--lfdc-mobile-cols),minmax(0,1fr));}
  .lfdc-layout-masonry{columns:var(--lfdc-mobile-cols);}
  .lfdc-layout-justified .lfdc-photo-item{height:160px;flex-basis:45%;}
  .lfdc-group-cards{grid-template-columns:1fr;}
  .lfdc-layout-featured{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lfdc-layout-featured .lfdc-photo-item.is-featured{grid-column:span 2;grid-row:auto;min-height:300px;}
  .lfdc-lb-prev, .lfdc-lb-next{padding:6px 12px;}
}
.lfdc-public-shell{max-width:1240px;margin:40px auto;padding:0 20px 60px;box-sizing:border-box;}
.lfdc-public-shell *{box-sizing:border-box;}
.lfdc-archive-header{text-align:center;margin:0 auto 30px;max-width:760px;}
.lfdc-archive-header h1, .lfdc-public-header h1{margin:0 0 8px;}
.lfdc-archive-header p{margin:0;opacity:.72;}
.lfdc-public-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.lfdc-public-gallery-card{overflow:hidden;border:1px solid rgba(0,0,0,.12);border-radius:14px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.05);}
.lfdc-public-gallery-card a{display:block;text-decoration:none;color:inherit;}
.lfdc-public-cover{aspect-ratio:16/10;background:#ececec;overflow:hidden;}
.lfdc-public-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease;}
.lfdc-public-gallery-card:hover .lfdc-public-cover img{transform:scale(1.025);}
.lfdc-public-card-body{padding:16px;}
.lfdc-public-card-body h2{margin:0 0 6px;font-size:1.25rem;}
.lfdc-public-date, .lfdc-public-count{opacity:.7;font-size:.92rem;}
.lfdc-public-single{max-width:1180px;margin:0 auto;}
.lfdc-public-header{margin-bottom:24px;}
.lfdc-public-description{margin-top:14px;max-width:820px;}
.lfdc-public-empty{padding:30px;border:1px dashed rgba(0,0,0,.25);border-radius:12px;text-align:center;}
.lfdc-back-link{margin-top:28px;}
.lfdc-public-cover .lfdc-cover-placeholder{height:100%;min-height:180px;background:#ececec;}
.lfdc-public-cover .dashicons{display:none;}
@media (max-width:900px){
  .lfdc-public-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:600px){
  .lfdc-public-shell{padding:0 12px 40px;margin-top:24px;}
  .lfdc-public-gallery-grid{grid-template-columns:1fr;}
  .lfdc-public-gallery-card{border-radius:10px;}
}
.lfdc-archive-admin-action{display:flex;justify-content:flex-end;margin-bottom:14px;}
.lfdc-public-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;}
.lfdc-manage-public-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;text-decoration:none!important;border-radius:9px;padding:10px 15px;background:#e86b1f;color:#fff!important;font-weight:700;line-height:1.2;box-shadow:0 2px 8px rgba(0,0,0,.12);}
.lfdc-manage-public-btn:hover{background:#c95612;color:#fff!important;}
.lfdc-archive-header .lfdc-manage-public-btn{margin-left:auto;}
@media (max-width:600px){
  .lfdc-public-header-row{flex-direction:column;}
  .lfdc-manage-public-btn{width:100%;}
  .lfdc-archive-admin-action{justify-content:stretch;}
}
.lfdc-group-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0 0 20px;}
.lfdc-group-filters button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:56px;padding:10px 14px;border:2px solid #e6dbd6;border-radius:14px;background:#fff;color:#46352f;font-weight:850;line-height:1.15;text-align:left;box-shadow:none;}
.lfdc-group-filters button:hover{border-color:#d5c2bb;background:#fffdfa;}
.lfdc-group-filters button.is-active{border-color:#df7338;background:#fff5ef;color:#6a2d18;box-shadow:0 0 0 3px rgba(223,115,56,.10);}
.lfdc-archive-admin-action .lfdc-manage-public-btn, .lfdc-public-header-row .lfdc-manage-public-btn{border:2px solid #6f2018;border-radius:12px;font-weight:850;}
@media (max-width:600px){
  .lfdc-group-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .lfdc-group-filters button{min-height:60px;padding:10px 12px;}
}
.lfdc-group-filters::before, .lfdc-group-filters::after, .lfdc-photo-layout::before, .lfdc-photo-layout::after, .lfdc-layout-grid::before, .lfdc-layout-grid::after, .lfdc-layout-featured::before, .lfdc-layout-featured::after, .lfdc-group-cards::before, .lfdc-group-cards::after, .lfdc-public-gallery-grid::before, .lfdc-public-gallery-grid::after, .lfdc-public-header-row::before, .lfdc-public-header-row::after{content:none!important;display:none!important;position:static!important;float:none!important;clear:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;}
.lfdc-photo-layout > *, .lfdc-layout-grid > *, .lfdc-layout-featured > *, .lfdc-group-cards > *, .lfdc-public-gallery-grid > *{min-width:0!important;max-width:100%!important;float:none!important;clear:none!important;}
.lfdc-layout-grid > .lfdc-photo-item, .lfdc-layout-featured > .lfdc-photo-item, .lfdc-public-gallery-grid > .lfdc-public-gallery-card{width:100%!important;margin:0!important;grid-column:auto!important;grid-row:auto!important;}
body.single-lfdc_gallery{max-width:100%!important;overflow-x:hidden!important;}
body.single-lfdc_gallery .lfdc-public-shell{position:relative!important;left:0!important;right:auto!important;float:none!important;clear:both!important;display:block!important;width:100vw!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:28px 12px 52px!important;overflow:visible!important;}
body.single-lfdc_gallery .lfdc-public-shell::before, body.single-lfdc_gallery .lfdc-public-shell::after, body.single-lfdc_gallery .lfdc-public-single::before, body.single-lfdc_gallery .lfdc-public-single::after, body.single-lfdc_gallery .lfdc-public-header::before, body.single-lfdc_gallery .lfdc-public-header::after, body.single-lfdc_gallery .lfdc-gallery-wrap::before, body.single-lfdc_gallery .lfdc-gallery-wrap::after, body.single-lfdc_gallery .lfdc-group-section::before, body.single-lfdc_gallery .lfdc-group-section::after{content:none!important;display:none!important;position:static!important;float:none!important;clear:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;}
body.single-lfdc_gallery .lfdc-public-single{position:relative!important;float:none!important;clear:both!important;display:block!important;min-width:0!important;}
body.single-lfdc_gallery .lfdc-public-single > *, body.single-lfdc_gallery .lfdc-public-header, body.single-lfdc_gallery .lfdc-public-header-row, body.single-lfdc_gallery .lfdc-public-description, body.single-lfdc_gallery .lfdc-gallery-wrap, body.single-lfdc_gallery .lfdc-photo-layout, body.single-lfdc_gallery .lfdc-group-filters, body.single-lfdc_gallery .lfdc-group-section, body.single-lfdc_gallery .lfdc-group-cards, body.single-lfdc_gallery .lfdc-card-panel{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
body.single-lfdc_gallery .lfdc-public-header{width:100%!important;}
body.single-lfdc_gallery .lfdc-public-header-row{margin:0!important;padding:0!important;}
body.single-lfdc_gallery .lfdc-public-header-row > *{min-width:0!important;max-width:100%!important;float:none!important;clear:none!important;}
body.single-lfdc_gallery .lfdc-public-header h1{display:block!important;width:auto!important;max-width:100%!important;margin:0 0 6px!important;padding:0!important;color:inherit!important;font-size:clamp(2rem,7vw,3.25rem)!important;line-height:1.08!important;overflow-wrap:anywhere!important;word-break:normal!important;float:none!important;clear:none!important;}
body.single-lfdc_gallery .lfdc-public-date{display:block!important;margin:0!important;padding:0!important;font-size:1rem!important;line-height:1.35!important;}
body.single-lfdc_gallery .lfdc-public-description{width:100%!important;padding:0!important;}
body.single-lfdc_gallery .lfdc-public-description > *{max-width:100%!important;margin-left:0!important;margin-right:0!important;}
body.single-lfdc_gallery .lfdc-manage-public-btn{max-width:100%!important;margin:0!important;float:none!important;clear:none!important;}
body.single-lfdc_gallery .lfdc-gallery-wrap{display:block!important;float:none!important;clear:both!important;}
body.single-lfdc_gallery .lfdc-group-filters{grid-auto-flow:row!important;overflow:visible!important;}
body.single-lfdc_gallery .lfdc-group-filters > button{position:static!important;float:none!important;clear:none!important;display:flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;text-align:center!important;transform:none!important;}
body.single-lfdc_gallery .lfdc-photo-layout{max-width:100%!important;min-width:0!important;}
body.single-lfdc_gallery .lfdc-layout-grid, body.single-lfdc_gallery .lfdc-layout-featured{display:grid!important;grid-auto-flow:row!important;width:100%!important;}
body.single-lfdc_gallery .lfdc-layout-justified{width:100%!important;}
body.single-lfdc_gallery .lfdc-layout-carousel{width:100%!important;max-width:100%!important;overflow-y:hidden!important;}
body.single-lfdc_gallery .lfdc-photo-layout > .lfdc-photo-item, body.single-lfdc_gallery .lfdc-group-section .lfdc-photo-item{position:relative!important;float:none!important;clear:none!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;transform:none!important;}
body.single-lfdc_gallery .lfdc-photo-item > a, body.single-lfdc_gallery .lfdc-photo-item img{display:block!important;max-width:100%!important;margin:0!important;padding:0!important;float:none!important;clear:none!important;}
body.single-lfdc_gallery .lfdc-photo-item img{height:100%!important;object-fit:cover!important;}
body.single-lfdc_gallery .lfdc-layout-masonry .lfdc-photo-item img{height:auto!important;}
body.single-lfdc_gallery .lfdc-group-section{display:block!important;width:100%!important;float:none!important;clear:both!important;}
body.single-lfdc_gallery .lfdc-group-section > h2, body.single-lfdc_gallery .lfdc-card-panel > h2{width:100%!important;max-width:100%!important;padding:0!important;float:none!important;clear:both!important;}
body.single-lfdc_gallery .lfdc-group-cards{display:grid!important;width:100%!important;grid-auto-flow:row!important;}
body.single-lfdc_gallery .lfdc-group-card{position:relative!important;float:none!important;clear:none!important;width:100%!important;max-width:100%!important;margin:0!important;transform:none!important;}
body.single-lfdc_gallery .lfdc-back-link{display:block!important;width:100%!important;max-width:100%!important;float:none!important;clear:both!important;}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-public-shell{width:100vw!important;max-width:100vw!important;padding:18px 8px 40px!important;}
  body.single-lfdc_gallery .lfdc-public-single{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;}
  body.single-lfdc_gallery .lfdc-group-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.single-lfdc_gallery .lfdc-layout-justified .lfdc-photo-item{width:auto!important;min-width:0!important;height:160px!important;}
  body.single-lfdc_gallery .lfdc-group-cards{grid-template-columns:1fr!important;}
}
body.single-lfdc_gallery .lfdc-public-header-row > div:first-child:empty{display:none!important;}
/* Tous les contrôles publics utilisent le même langage visuel crème. */
body.single-lfdc_gallery .lfdc-group-filters > button, body.single-lfdc_gallery .lfdc-manage-public-btn, body.single-lfdc_gallery .lfdc-back-link > a{background:#fff4e8!important;color:#54261d!important;border:2px solid #8a3d27!important;border-radius:14px!important;box-shadow:0 2px 0 rgba(82,26,21,.08)!important;text-decoration:none!important;font-weight:900!important;}
body.single-lfdc_gallery .lfdc-group-filters > button:hover, body.single-lfdc_gallery .lfdc-manage-public-btn:hover, body.single-lfdc_gallery .lfdc-back-link > a:hover{background:#ffe9d4!important;border-color:#6f2018!important;color:#54261d!important;}
body.single-lfdc_gallery .lfdc-manage-public-btn, body.single-lfdc_gallery .lfdc-back-link > a{min-height:50px!important;padding:11px 16px!important;font-size:1rem!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-manage-public-btn, body.single-lfdc_gallery .lfdc-back-link > a{width:100%!important;min-height:54px!important;font-size:1.02rem!important;}
}
.lfdc-lb-meta{margin-top:10px;}
.lfdc-lb-title{line-height:1.25;}
.lfdc-lb-tags{font-weight:750;}
body.single-lfdc_gallery .lfdc-photo-layout[hidden], body.single-lfdc_gallery .lfdc-photo-item[hidden]{display:none!important;}
body.single-lfdc_gallery .lfdc-photo-item{transition:transform .18s ease,box-shadow .18s ease!important;}
@media (hover:hover){
  body.single-lfdc_gallery .lfdc-photo-item:hover{transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(52,29,20,.16)!important;}
}
body.single-lfdc_gallery .lfdc-photo-item img{max-width:none!important;transition:transform .25s ease!important;}
@media (hover:hover){
  body.single-lfdc_gallery .lfdc-photo-item:hover img{transform:scale(1.018)!important;}
}
body.single-lfdc_gallery .lfdc-photo-item figcaption{display:none!important;}
/* Vrai mode justifié : les tailles sont calculées par JS à partir du ratio réel. */
/* Masonry : aucun recadrage. */
/* Grille : volontairement régulière mais moins agressive que les anciens carrés. */
/* Carrousel : photo entière, grande et centrée. */
body.single-lfdc_gallery .lfdc-layout-carousel{display:flex!important;gap:calc(var(--lfdc-gap) * 1.5)!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;scrollbar-width:thin!important;padding:2px 2px 12px!important;}
body.single-lfdc_gallery .lfdc-layout-carousel .lfdc-photo-item{flex:0 0 min(82vw,760px)!important;width:min(82vw,760px)!important;height:min(62vw,560px)!important;scroll-snap-align:center!important;}
body.single-lfdc_gallery .lfdc-layout-carousel .lfdc-photo-item img{height:100%!important;object-fit:contain!important;background:#f5eadf!important;}
/* Grande photo + miniatures : vedette entière, miniatures plus sobres. */
body.single-lfdc_gallery .lfdc-layout-featured{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--lfdc-gap)!important;}
body.single-lfdc_gallery .lfdc-layout-featured .lfdc-photo-item{aspect-ratio:4/3!important;}
body.single-lfdc_gallery .lfdc-layout-featured .lfdc-photo-item.is-featured{grid-column:1/-1!important;grid-row:auto!important;width:100%!important;min-height:0!important;aspect-ratio:16/9!important;}
body.single-lfdc_gallery .lfdc-layout-featured .lfdc-photo-item.is-featured img{object-fit:contain!important;background:#f5eadf!important;}
body.single-lfdc_gallery .lfdc-layout-featured .lfdc-photo-item:not(.is-featured) img{object-fit:cover!important;}
/* Lightbox immersive. */
.lfdc-lb-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;text-align:left!important;}
.lfdc-lb-image-stage{flex:1 1 auto!important;}
.lfdc-lb-image-stage img{display:block!important;width:auto!important;height:auto!important;object-fit:contain!important;}
.lfdc-lb-meta{flex:0 0 auto!important;}
.lfdc-lb-tags{letter-spacing:.02em!important;}
.lfdc-lb-close, .lfdc-lb-prev, .lfdc-lb-next{z-index:3!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;color:#fff!important;backdrop-filter:blur(6px)!important;}
.lfdc-lb-close{width:48px!important;height:48px!important;padding:0!important;font-size:34px!important;}
.lfdc-lb-prev, .lfdc-lb-next{width:54px!important;height:54px!important;padding:0!important;font-size:42px!important;}
@media (max-width:900px){
  body.single-lfdc_gallery .lfdc-layout-featured{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-layout-justified{gap:var(--lfdc-gap)!important;}
  body.single-lfdc_gallery .lfdc-layout-justified .lfdc-photo-item{flex:0 0 auto!important;width:auto;height:auto;}
  body.single-lfdc_gallery .lfdc-layout-featured{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.single-lfdc_gallery .lfdc-layout-featured .lfdc-photo-item.is-featured{grid-column:1/-1!important;aspect-ratio:4/3!important;}
  body.single-lfdc_gallery .lfdc-layout-carousel .lfdc-photo-item{flex-basis:92vw!important;width:92vw!important;height:68vw!important;}
  .lfdc-lb-inner{gap:8px!important;}
  .lfdc-lb-prev, .lfdc-lb-next{width:46px!important;height:46px!important;font-size:34px!important;}
  .lfdc-lb-prev{left:12px!important;}
  .lfdc-lb-next{right:12px!important;}
  .lfdc-lb-close{width:44px!important;height:44px!important;right:10px!important;top:10px!important;}
  .lfdc-lb-title{font-size:1.05rem!important;}
  .lfdc-lb-caption{font-size:.9rem!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
}
body.single-lfdc_gallery .lfdc-public-single{width:100%!important;max-width:1180px!important;margin:0 auto!important;padding:18px!important;border:1px solid rgba(82,26,21,.10)!important;border-radius:22px!important;background:#fffaf4!important;box-shadow:0 10px 34px rgba(82,26,21,.08)!important;overflow:hidden!important;}
body.single-lfdc_gallery .lfdc-public-header{margin:0 0 14px!important;padding:0 0 12px!important;border-bottom:1px solid rgba(82,26,21,.10)!important;background:transparent!important;}
body.single-lfdc_gallery .lfdc-public-header-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;}
body.single-lfdc_gallery .lfdc-public-meta{min-width:0!important;color:#76564b!important;font-size:.93rem!important;font-weight:750!important;line-height:1.2!important;}
body.single-lfdc_gallery .lfdc-public-meta > span{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;color:inherit!important;opacity:1!important;font-size:inherit!important;line-height:inherit!important;}
body.single-lfdc_gallery .lfdc-public-meta > span + span::before{content:"•"!important;display:inline-block!important;margin:0 8px!important;color:#c1784e!important;}
body.single-lfdc_gallery .lfdc-public-description{max-width:850px!important;margin:10px 0 0!important;color:#67493f!important;font-size:.98rem!important;line-height:1.55!important;}
/* Administration publique : présente mais visuellement secondaire. */
body.single-lfdc_gallery .lfdc-manage-public-btn{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:36px!important;padding:7px 12px!important;border:1px solid #cfa987!important;border-radius:999px!important;background:#f7eadc!important;color:#5a2a21!important;box-shadow:none!important;font-size:.88rem!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;}
body.single-lfdc_gallery .lfdc-manage-public-btn:hover{background:#efddca!important;border-color:#a86543!important;color:#4b2019!important;}
body.single-lfdc_gallery .lfdc-gallery-wrap{--lfdc-photo-radius:8px;--lfdc-photo-shadow:none;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;}
/* Filtres type chips : peu hauts, lisibles, horizontalement défilables sur mobile. */
body.single-lfdc_gallery .lfdc-group-filters{display:flex!important;grid-template-columns:none!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;margin:0 0 14px!important;padding:0!important;background:transparent!important;}
body.single-lfdc_gallery .lfdc-group-filters > button{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:36px!important;margin:0!important;padding:7px 13px!important;border:1px solid #d6b89c!important;border-radius:999px!important;background:#f8eadc!important;color:#5c3026!important;box-shadow:none!important;font-size:.94rem!important;font-weight:850!important;line-height:1.1!important;white-space:nowrap!important;}
body.single-lfdc_gallery .lfdc-group-filters > button:hover{background:#f1dfcf!important;border-color:#b77a57!important;color:#4b2119!important;}
body.single-lfdc_gallery .lfdc-group-filters > button.is-active{background:#f3deca!important;color:#54261d!important;border-color:#df7338!important;box-shadow:inset 0 0 0 1px #df7338!important;}
/* Les photos sont la décoration : pas de cartes lourdes autour. */
body.single-lfdc_gallery .lfdc-photo-layout{width:100%!important;margin:0!important;padding:0!important;gap:var(--lfdc-gap)!important;background:transparent!important;}
body.single-lfdc_gallery .lfdc-photo-item{margin:0!important;padding:0!important;border:0!important;border-radius:var(--lfdc-photo-radius)!important;background:#efe5db!important;box-shadow:none!important;overflow:hidden!important;transform:none!important;}
body.single-lfdc_gallery .lfdc-photo-item:hover{transform:none!important;box-shadow:none!important;}
body.single-lfdc_gallery .lfdc-photo-item > a{display:block!important;width:100%!important;height:100%!important;padding:0!important;border:0!important;border-radius:inherit!important;background:transparent!important;overflow:hidden!important;}
body.single-lfdc_gallery .lfdc-photo-item img{display:block!important;width:100%!important;margin:0!important;border:0!important;border-radius:inherit!important;box-shadow:none!important;transform:none!important;}
body.single-lfdc_gallery .lfdc-photo-item:hover img{transform:none!important;}
/* Mosaïque justifiée : proportions conservées, petites gouttières, dernière ligne non étirée. */
body.single-lfdc_gallery .lfdc-layout-justified{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;align-content:flex-start!important;justify-content:flex-start!important;gap:var(--lfdc-gap)!important;}
body.single-lfdc_gallery .lfdc-layout-justified .lfdc-photo-item{flex:0 0 auto!important;min-width:0!important;max-width:none!important;height:auto;aspect-ratio:auto!important;}
body.single-lfdc_gallery .lfdc-layout-justified .lfdc-photo-item img{width:100%!important;height:100%!important;object-fit:cover!important;}
/* Une seule photo visible : jamais étirée plein écran. */
body.single-lfdc_gallery .lfdc-photo-layout.lfdc-single-visible{display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:flex-start!important;columns:auto!important;}
body.single-lfdc_gallery .lfdc-photo-layout.lfdc-single-visible > .lfdc-photo-item:not([hidden]){flex:0 1 auto!important;width:min(82%,760px)!important;max-width:760px!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0 auto!important;}
body.single-lfdc_gallery .lfdc-photo-layout.lfdc-single-visible > .lfdc-photo-item:not([hidden]) > a, body.single-lfdc_gallery .lfdc-photo-layout.lfdc-single-visible > .lfdc-photo-item:not([hidden]) img{display:block!important;width:100%!important;height:auto!important;max-height:72vh!important;object-fit:contain!important;background:#efe5db!important;}
/* Masonry : image complète, sans décor superflu. */
body.single-lfdc_gallery .lfdc-layout-masonry{columns:4!important;column-gap:var(--lfdc-gap)!important;}
body.single-lfdc_gallery .lfdc-layout-masonry .lfdc-photo-item{display:inline-block!important;width:100%!important;height:auto!important;margin:0 0 var(--lfdc-gap)!important;break-inside:avoid!important;}
body.single-lfdc_gallery .lfdc-layout-masonry .lfdc-photo-item > a, body.single-lfdc_gallery .lfdc-layout-masonry .lfdc-photo-item img{height:auto!important;object-fit:contain!important;}
/* Grille régulière : moderne, 4:3, gouttières fines. */
body.single-lfdc_gallery .lfdc-layout-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--lfdc-gap)!important;}
body.single-lfdc_gallery .lfdc-layout-grid .lfdc-photo-item{aspect-ratio:4/3!important;}
body.single-lfdc_gallery .lfdc-layout-grid .lfdc-photo-item img{height:100%!important;object-fit:cover!important;}
/* Groupes par sections : titres moins lourds. */
body.single-lfdc_gallery .lfdc-group-section{margin:26px 0 0!important;padding:0!important;background:transparent!important;}
body.single-lfdc_gallery .lfdc-group-section:first-child{margin-top:0!important;}
body.single-lfdc_gallery .lfdc-group-section > h2, body.single-lfdc_gallery .lfdc-card-panel > h2{margin:0 0 10px!important;color:#5a2a21!important;font-size:1.12rem!important;font-weight:900!important;line-height:1.2!important;}
/* Retour archive : lien éditorial, plus un gros bouton. */
body.single-lfdc_gallery .lfdc-back-link{margin:18px 0 0!important;padding:14px 0 0!important;border-top:1px solid rgba(82,26,21,.10)!important;text-align:left!important;}
body.single-lfdc_gallery .lfdc-back-link > a{display:inline-flex!important;width:auto!important;min-height:0!important;padding:3px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#6d392d!important;box-shadow:none!important;font-size:.94rem!important;font-weight:850!important;text-decoration:none!important;}
body.single-lfdc_gallery .lfdc-back-link > a:hover{background:transparent!important;color:#df7338!important;text-decoration:underline!important;}
/* Lightbox : noir quasi plein écran, commandes légères, métadonnées discrètes. */
.lfdc-lightbox{backdrop-filter:blur(7px)!important;}
.lfdc-lb-image-stage img{max-width:100%!important;max-height:calc(96vh - 105px)!important;border-radius:6px!important;box-shadow:none!important;}
.lfdc-lb-meta{color:#f7f3ef!important;text-align:center!important;}
.lfdc-lb-title{font-size:1.02rem!important;font-weight:850!important;}
.lfdc-lb-caption{margin-top:3px!important;font-size:.9rem!important;line-height:1.4!important;opacity:.82!important;}
.lfdc-lb-tags{margin-top:4px!important;font-size:.78rem!important;opacity:.58!important;}
.lfdc-lb-close, .lfdc-lb-prev, .lfdc-lb-next{border:0!important;background:rgba(255,255,255,.09)!important;box-shadow:none!important;}
@media (max-width:900px){
  body.single-lfdc_gallery .lfdc-public-single{border-radius:18px!important;padding:14px!important;}
  body.single-lfdc_gallery .lfdc-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.single-lfdc_gallery .lfdc-layout-masonry{columns:3!important;}
}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-public-shell{padding-left:8px!important;padding-right:8px!important;padding-bottom:24px!important;}
  body.single-lfdc_gallery .lfdc-public-single{padding:10px!important;border-radius:15px!important;box-shadow:0 5px 18px rgba(82,26,21,.07)!important;}
  body.single-lfdc_gallery .lfdc-public-header{margin-bottom:10px!important;padding-bottom:9px!important;}
  body.single-lfdc_gallery .lfdc-public-header-row{flex-direction:row!important;align-items:center!important;gap:8px!important;}
  body.single-lfdc_gallery .lfdc-public-meta{font-size:.84rem!important;}
  body.single-lfdc_gallery .lfdc-manage-public-btn{width:auto!important;min-height:34px!important;padding:6px 10px!important;font-size:.82rem!important;}
  body.single-lfdc_gallery .lfdc-group-filters{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;gap:6px!important;margin-bottom:10px!important;padding:1px 0 3px!important;}
  body.single-lfdc_gallery .lfdc-group-filters::-webkit-scrollbar{display:none!important;}
  body.single-lfdc_gallery .lfdc-group-filters > button{min-height:34px!important;padding:6px 11px!important;font-size:.88rem!important;}
  body.single-lfdc_gallery .lfdc-gallery-wrap{--lfdc-photo-radius:6px;--lfdc-gap:5px;}
  body.single-lfdc_gallery .lfdc-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.single-lfdc_gallery .lfdc-layout-masonry{columns:2!important;}
  body.single-lfdc_gallery .lfdc-photo-layout.lfdc-single-visible > .lfdc-photo-item:not([hidden]){width:min(88%,560px)!important;}
  body.single-lfdc_gallery .lfdc-photo-layout.lfdc-single-visible > .lfdc-photo-item:not([hidden]) img{max-height:62vh!important;}
  body.single-lfdc_gallery .lfdc-back-link{margin-top:14px!important;padding-top:10px!important;}
  body.single-lfdc_gallery .lfdc-back-link > a{font-size:.9rem!important;}
  .lfdc-lb-image-stage img{max-height:calc(100vh - 100px)!important;border-radius:3px!important;}
}
.lfdc-lb-counter{margin:0 0 3px!important;color:rgba(255,255,255,.55)!important;font-size:.76rem!important;font-weight:750!important;letter-spacing:.06em!important;}
body.single-lfdc_gallery .lfdc-photo-item video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#1d1714!important;}
body.single-lfdc_gallery .lfdc-photo-item.is-video .lfdc-lightbox-link{position:relative!important;display:block!important;height:100%!important;}
body.single-lfdc_gallery .lfdc-video-play{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:54px!important;height:54px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.9)!important;color:#521a15!important;font-size:1.25rem!important;line-height:1!important;box-shadow:0 6px 20px rgba(0,0,0,.28)!important;pointer-events:none!important;padding-left:3px!important;}
body.single-lfdc_gallery .lfdc-photo-item .lfdc-media-meta{display:flex!important;flex-direction:column!important;gap:3px!important;font-size:.92rem!important;line-height:1.35!important;text-align:left!important;}
body.single-lfdc_gallery .lfdc-media-title{font-weight:850!important;}
body.single-lfdc_gallery .lfdc-media-description{font-size:.88rem!important;color:#6e5a51!important;}
.lfdc-lb-image-stage video{display:block;max-width:92vw;max-height:82vh;width:auto;height:auto;margin:auto;background:#000;border-radius:6px;}
.lfdc-lb-image-stage video[hidden], .lfdc-lb-image-stage img[hidden]{display:none!important;}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-video-play{width:46px!important;height:46px!important;font-size:1.05rem!important;}
  body.single-lfdc_gallery .lfdc-photo-item .lfdc-media-meta{font-size:.86rem!important;padding-top:6px!important;}
  .lfdc-lb-image-stage video{max-width:100vw!important;max-height:calc(100vh - 100px)!important;border-radius:3px!important;}
}
/* Les métadonnées optionnelles se superposent aux médias pour ne pas casser la mosaïque. */
body.single-lfdc_gallery .lfdc-photo-item .lfdc-media-meta{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:3!important;padding:32px 10px 9px!important;background:linear-gradient(to top,rgba(20,12,9,.78),rgba(20,12,9,0))!important;color:#fff!important;pointer-events:none!important;}
body.single-lfdc_gallery .lfdc-photo-item .lfdc-media-title{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.35)!important;}
body.single-lfdc_gallery .lfdc-photo-item .lfdc-media-description{color:rgba(255,255,255,.88)!important;text-shadow:0 1px 2px rgba(0,0,0,.35)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
body.single-lfdc_gallery .lfdc-group-card-video{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#2a211d,#110d0b)!important;color:#fff!important;}
body.single-lfdc_gallery .lfdc-group-card-video span{position:static!important;font-size:2rem!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-shell{margin:28px auto 56px!important;padding:0!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-header{position:relative!important;max-width:none!important;margin:0 0 20px!important;padding:0 2px 14px!important;text-align:left!important;border-bottom:1px solid rgba(82,26,21,.10)!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-header h1{margin:0 0 5px!important;color:#521a15!important;font-size:clamp(1.7rem,3vw,2.35rem)!important;line-height:1.05!important;font-weight:900!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-header p{max-width:720px!important;margin:0!important;color:#6f5a51!important;font-size:.96rem!important;line-height:1.45!important;opacity:1!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-admin-action{position:absolute!important;top:0!important;right:2px!important;margin:0!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-admin-action .lfdc-manage-public-btn{width:auto!important;min-height:34px!important;padding:6px 11px!important;border:1px solid rgba(82,26,21,.16)!important;border-radius:999px!important;background:#fff4e8!important;color:#521a15!important;box-shadow:none!important;font-size:.82rem!important;font-weight:850!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-gallery-grid{display:grid!important;width:100%!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card{position:relative!important;width:100%!important;margin:0!important;overflow:hidden!important;border:0!important;background:#e9dfd5!important;isolation:isolate!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card::before, body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card::after{content:none!important;display:none!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-album-link{position:relative!important;display:block!important;width:100%!important;color:inherit!important;text-decoration:none!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-cover{position:relative!important;width:100%!important;overflow:hidden!important;background:linear-gradient(135deg,#eadfd4,#d6c5b7)!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-cover::after{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(to top,rgba(27,13,9,.72) 0%,rgba(27,13,9,.24) 37%,rgba(27,13,9,0) 66%)!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-cover img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:scale(1)!important;transition:transform .34s ease,filter .34s ease!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card:hover .lfdc-public-cover img, body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card:focus-within .lfdc-public-cover img{transform:scale(1.035)!important;filter:saturate(1.04)!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:2!important;color:#fff!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay .lfdc-public-date{margin:0 0 4px!important;color:rgba(255,255,255,.78)!important;font-weight:750!important;line-height:1.2!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay h2{margin:0!important;color:#fff!important;font-weight:900!important;text-shadow:0 1px 3px rgba(0,0,0,.32)!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-cover .lfdc-cover-placeholder{min-height:0!important;height:100%!important;background:linear-gradient(135deg,#eadfd4,#cdb7a6)!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-empty{padding:42px 18px!important;border:1px dashed rgba(82,26,21,.22)!important;border-radius:14px!important;background:#fffaf4!important;color:#6f5a51!important;}
@media (max-width:760px){
  body.post-type-archive-lfdc_gallery .lfdc-public-shell{width:calc(100vw - 16px)!important;margin:18px auto 34px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-header{padding-right:0!important;margin-bottom:12px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-header p{padding-right:92px!important;font-size:.9rem!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-admin-action{top:2px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-gallery-grid{grid-template-columns:1fr!important;gap:9px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card{border-radius:10px!important;box-shadow:0 4px 13px rgba(52,28,20,.09)!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-cover{aspect-ratio:4/3!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay{padding:30px 13px 12px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay h2{font-size:1.2rem!important;}
}
.lfdc-lightbox{padding:0!important;background:#050505!important;}
.lfdc-lb-inner{position:relative!important;width:100dvw!important;max-width:100dvw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;gap:0!important;overflow:hidden!important;}
.lfdc-lb-image-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
.lfdc-lb-image-stage img, .lfdc-lb-image-stage video{display:block!important;width:auto!important;height:auto!important;max-width:100dvw!important;max-height:100dvh!important;object-fit:contain!important;margin:auto!important;border-radius:0!important;box-shadow:none!important;background:#050505!important;}
.lfdc-lb-meta{position:absolute!important;z-index:5!important;left:50%!important;bottom:0!important;transform:translateX(-50%)!important;width:min(100%,960px)!important;margin:0!important;padding:54px 72px max(16px,env(safe-area-inset-bottom))!important;background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,0))!important;pointer-events:none!important;}
.lfdc-lb-meta .lfdc-lb-download{pointer-events:auto!important;}
.lfdc-lb-close{top:max(10px,env(safe-area-inset-top))!important;right:max(10px,env(safe-area-inset-right))!important;}
.lfdc-lb-prev{left:max(8px,env(safe-area-inset-left))!important;}
.lfdc-lb-next{right:max(8px,env(safe-area-inset-right))!important;}
@media (max-width:600px){
  .lfdc-lightbox{padding:0!important;}
  .lfdc-lb-inner{width:100dvw!important;max-width:100dvw!important;height:100dvh!important;max-height:100dvh!important;}
  .lfdc-lb-image-stage img, .lfdc-lb-image-stage video{max-width:100dvw!important;max-height:100dvh!important;border-radius:0!important;}
  .lfdc-lb-meta{width:100%!important;padding:44px 52px max(12px,env(safe-area-inset-bottom))!important;}
  .lfdc-lb-prev, .lfdc-lb-next{top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;}
}
.lfdc-ulike{position:relative!important;z-index:7!important;line-height:1!important;}
.lfdc-ulike .wpulike, .lfdc-ulike .wp_ulike_general_class, .lfdc-ulike .lfdc-heart-control{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;}
.lfdc-ulike .lfdc-heart-control{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;}
.lfdc-ulike .lfdc-heart-btn{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;cursor:pointer!important;line-height:1!important;overflow:visible!important;}
.lfdc-ulike .lfdc-heart-btn:before, .lfdc-ulike .lfdc-heart-btn:after{display:none!important;content:none!important;}
.lfdc-ulike .lfdc-heart-glyph{display:block!important;font-family:Arial,sans-serif!important;font-size:23px!important;line-height:1!important;color:transparent!important;-webkit-text-stroke:1.7px currentColor!important;text-shadow:none!important;transition:transform .16s ease,color .16s ease,-webkit-text-stroke .16s ease!important;}
.lfdc-ulike .lfdc-heart-btn:hover .lfdc-heart-glyph, .lfdc-ulike .lfdc-heart-btn:focus-visible .lfdc-heart-glyph{transform:scale(1.1)!important;}
.lfdc-ulike .wp_ulike_is_liked .lfdc-heart-glyph, .lfdc-ulike .wp_ulike_btn.wp_ulike_btn_is_active .lfdc-heart-glyph, .lfdc-ulike .wp_ulike_btn.wp_ulike_is_liked .lfdc-heart-glyph{color:#df7338!important;-webkit-text-stroke:0 transparent!important;}
.lfdc-ulike .lfdc-heart-count, .lfdc-ulike .count-box{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:.75rem!important;font-weight:800!important;line-height:1!important;color:inherit!important;}
.lfdc-ulike .lfdc-heart-count:before, .lfdc-ulike .lfdc-heart-count:after, .lfdc-ulike .count-box:before, .lfdc-ulike .count-box:after{display:none!important;content:none!important;border:0!important;}
/* Like de l'album : juste le cœur et le nombre, au même niveau que la date. */
body.single-lfdc_gallery .lfdc-public-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 14px!important;}
body.single-lfdc_gallery .lfdc-album-like{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#521a15!important;}
body.single-lfdc_gallery .lfdc-album-like .lfdc-heart-btn{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;}
body.single-lfdc_gallery .lfdc-album-like .lfdc-heart-glyph{font-size:22px!important;color:transparent!important;-webkit-text-stroke:1.7px #521a15!important;}
body.single-lfdc_gallery .lfdc-album-like .wp_ulike_is_liked .lfdc-heart-glyph, body.single-lfdc_gallery .lfdc-album-like .wp_ulike_btn.wp_ulike_btn_is_active .lfdc-heart-glyph{color:#df7338!important;-webkit-text-stroke:0 transparent!important;}
body.single-lfdc_gallery .lfdc-album-like .lfdc-heart-count{color:#521a15!important;font-size:.78rem!important;}
/* Like média : petit disque discret en bas à droite, jamais un gros cartouche. */
body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media{position:absolute!important;right:7px!important;bottom:7px!important;top:auto!important;left:auto!important;z-index:9!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:36px!important;height:36px!important;padding:2px 7px 2px 2px!important;border-radius:999px!important;background:rgba(20,12,9,.54)!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;box-shadow:0 2px 8px rgba(0,0,0,.18)!important;color:#fff!important;transition:background .18s ease,opacity .18s ease!important;}
body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media:hover{background:rgba(20,12,9,.72)!important;}
body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media .lfdc-heart-btn{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;}
body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media .lfdc-heart-glyph{font-size:21px!important;color:transparent!important;-webkit-text-stroke:1.7px #fff!important;}
body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media .wp_ulike_is_liked .lfdc-heart-glyph, body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media .wp_ulike_btn.wp_ulike_btn_is_active .lfdc-heart-glyph{color:#ff765e!important;-webkit-text-stroke:0 transparent!important;}
body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media .lfdc-heart-count{color:#fff!important;font-size:.72rem!important;}
body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media .lfdc-heart-count[data-ulike-counter-value="0"]{display:none!important;}
/* Lightbox : même vote déplacé, mais placé en bas à droite. */
.lfdc-lb-like-slot{position:absolute!important;z-index:9!important;top:auto!important;left:auto!important;right:max(12px,env(safe-area-inset-right))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;height:42px!important;padding:3px 9px 3px 3px!important;border-radius:999px!important;background:rgba(12,12,12,.62)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;box-shadow:0 3px 14px rgba(0,0,0,.28)!important;color:#fff!important;}
.lfdc-lb-like-slot[hidden]{display:none!important;}
.lfdc-lb-like-slot .lfdc-ulike-media{position:static!important;display:flex!important;min-width:0!important;height:auto!important;padding:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;}
.lfdc-lb-like-slot .lfdc-heart-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;}
.lfdc-lb-like-slot .lfdc-heart-glyph{font-size:24px!important;color:transparent!important;-webkit-text-stroke:1.8px #fff!important;}
.lfdc-lb-like-slot .wp_ulike_is_liked .lfdc-heart-glyph, .lfdc-lb-like-slot .wp_ulike_btn.wp_ulike_btn_is_active .lfdc-heart-glyph{color:#ff765e!important;-webkit-text-stroke:0 transparent!important;}
.lfdc-lb-like-slot .lfdc-heart-count{color:#fff!important;font-size:.76rem!important;}
.lfdc-like-placeholder{display:none!important;}
/* Page des albums : petit cœur intégré à la couverture. */
body.post-type-archive-lfdc_gallery .lfdc-album-card-like{position:absolute!important;z-index:6!important;top:9px!important;right:9px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:36px!important;height:36px!important;padding:2px 7px 2px 2px!important;border-radius:999px!important;background:rgba(20,12,9,.50)!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;box-shadow:0 2px 8px rgba(0,0,0,.16)!important;color:#fff!important;}
body.post-type-archive-lfdc_gallery .lfdc-album-card-like .lfdc-heart-btn{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;}
body.post-type-archive-lfdc_gallery .lfdc-album-card-like .lfdc-heart-glyph{font-size:21px!important;color:transparent!important;-webkit-text-stroke:1.7px #fff!important;}
body.post-type-archive-lfdc_gallery .lfdc-album-card-like .wp_ulike_is_liked .lfdc-heart-glyph, body.post-type-archive-lfdc_gallery .lfdc-album-card-like .wp_ulike_btn.wp_ulike_btn_is_active .lfdc-heart-glyph{color:#ff765e!important;-webkit-text-stroke:0 transparent!important;}
body.post-type-archive-lfdc_gallery .lfdc-album-card-like .lfdc-heart-count{color:#fff!important;font-size:.72rem!important;}
body.post-type-archive-lfdc_gallery .lfdc-album-card-like .lfdc-heart-count[data-ulike-counter-value="0"]{display:none!important;}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media{right:5px!important;bottom:5px!important;min-width:34px!important;height:34px!important;padding-right:6px!important;}
  body.single-lfdc_gallery .lfdc-photo-item>.lfdc-ulike-media .lfdc-heart-btn{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;}
  .lfdc-lb-like-slot{right:max(8px,env(safe-area-inset-right))!important;bottom:max(8px,env(safe-area-inset-bottom))!important;}
  body.post-type-archive-lfdc_gallery .lfdc-album-card-like{top:7px!important;right:7px!important;}
}
body.single-lfdc_gallery .wpulike-notification, body.single-lfdc_gallery .wpulike-message, body.post-type-archive-lfdc_gallery .wpulike-notification, body.post-type-archive-lfdc_gallery .wpulike-message{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
body.single-lfdc_gallery .lfdc-layout-bento{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:dense!important;grid-auto-rows:clamp(118px,12vw,176px)!important;gap:var(--lfdc-gap)!important;align-items:stretch!important;}
body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item{display:block!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;aspect-ratio:auto!important;grid-column:span 1!important;grid-row:span 1!important;overflow:hidden!important;}
body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-hero{grid-column:span 2!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-wide{grid-column:span 2!important;grid-row:span 1!important;}
body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-tall{grid-column:span 1!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;margin:0!important;}
body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-hero>a>img, body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-hero>a>video{object-position:center!important;}
@media (max-width:900px){
  body.single-lfdc_gallery .lfdc-layout-bento{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:clamp(112px,18vw,158px)!important;}
  body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-hero{grid-column:span 2!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-wide{grid-column:span 2!important;}
}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-layout-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(108px,31vw,145px)!important;gap:5px!important;}
  body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-hero{grid-column:1/-1!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-wide{grid-column:1/-1!important;grid-row:span 1!important;}
  body.single-lfdc_gallery .lfdc-layout-bento .lfdc-photo-item.is-bento-tall{grid-column:span 1!important;grid-row:span 2!important;}
}
/* Les règles de sécurité 1 média restent prioritaires, y compris en Bento. */
body.single-lfdc_gallery .lfdc-layout-bento.lfdc-single-visible{display:flex!important;}
body.single-lfdc_gallery .lfdc-layout-magazine{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-flow:dense!important;grid-auto-rows:clamp(78px,7.2vw,112px)!important;gap:var(--lfdc-gap)!important;align-items:stretch!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .lfdc-photo-item{width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;grid-column:span 2!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-magazine .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-magazine .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;}
/* Composition A : hero à gauche, portrait et panoramiques autour. */
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-hero{grid-column:span 4!important;grid-row:span 4!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-tall{grid-column:span 2!important;grid-row:span 3!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-wide{grid-column:span 3!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-accent{grid-column:span 2!important;grid-row:span 2!important;}
/* Composition B : hero moins haut, bandes larges et portrait. */
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-hero{grid-column:span 6!important;grid-row:span 3!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-tall{grid-column:span 2!important;grid-row:span 3!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-wide{grid-column:span 4!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-accent{grid-column:span 3!important;grid-row:span 2!important;}
/* Composition C : hero à droite visuellement via densification et cases asymétriques. */
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-hero{grid-column:span 4!important;grid-row:span 4!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-tall{grid-column:span 2!important;grid-row:span 4!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-wide{grid-column:span 4!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-accent{grid-column:span 2!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-cinema{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(6px,.75vw,10px)!important;align-items:start!important;}
body.single-lfdc_gallery .lfdc-layout-cinema .lfdc-photo-item{width:auto!important;max-width:none!important;height:auto!important;aspect-ratio:16/9!important;}
body.single-lfdc_gallery .lfdc-layout-cinema .lfdc-photo-item.is-cinema-wide{grid-column:1/-1!important;}
body.single-lfdc_gallery .lfdc-layout-cinema .lfdc-photo-item.is-cinema-half{grid-column:span 1!important;}
body.single-lfdc_gallery .lfdc-layout-cinema .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-cinema .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-cinema .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
body.single-lfdc_gallery .lfdc-layout-cinema .is-cinema-wide{border-radius:10px!important;}
body.single-lfdc_gallery .lfdc-layout-hero_details{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--lfdc-gap)!important;align-items:stretch!important;}
body.single-lfdc_gallery .lfdc-layout-hero_details .lfdc-photo-item{width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;}
body.single-lfdc_gallery .lfdc-layout-hero_details .is-hd-hero{grid-column:1/-1!important;aspect-ratio:16/7!important;}
body.single-lfdc_gallery .lfdc-layout-hero_details .is-hd-detail{grid-column:span 1!important;aspect-ratio:1/1!important;}
body.single-lfdc_gallery .lfdc-layout-hero_details .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-hero_details .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-hero_details .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
@media (max-width:900px){
  body.single-lfdc_gallery .lfdc-layout-magazine{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:clamp(92px,13vw,126px)!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .lfdc-photo-item{grid-column:span 2!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-hero, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-hero, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-hero{grid-column:1/-1!important;grid-row:span 3!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-wide, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-wide, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-wide{grid-column:span 2!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-tall, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-tall, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-tall{grid-column:span 2!important;grid-row:span 3!important;}
  body.single-lfdc_gallery .lfdc-layout-hero_details .is-hd-hero{aspect-ratio:16/8!important;}
}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-layout-magazine{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(104px,31vw,144px)!important;gap:5px!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .lfdc-photo-item{grid-column:span 1!important;grid-row:span 1!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-hero, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-hero, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-hero{grid-column:1/-1!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-wide, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-wide, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-wide{grid-column:1/-1!important;grid-row:span 1!important;}
  body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-a-tall, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-b-tall, body.single-lfdc_gallery .lfdc-layout-magazine .is-mag-c-tall{grid-column:span 1!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-cinema{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;}
  body.single-lfdc_gallery .lfdc-layout-cinema .is-cinema-wide{grid-column:1/-1!important;}
  body.single-lfdc_gallery .lfdc-layout-cinema .is-cinema-half{grid-column:span 1!important;}
  body.single-lfdc_gallery .lfdc-layout-hero_details{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;}
  body.single-lfdc_gallery .lfdc-layout-hero_details .is-hd-hero{grid-column:1/-1!important;aspect-ratio:4/3!important;}
  body.single-lfdc_gallery .lfdc-layout-hero_details .is-hd-detail{grid-column:span 1!important;aspect-ratio:1/1!important;}
}
/* La règle 1 média reste prioritaire pour tous les nouveaux modes. */
body.single-lfdc_gallery .lfdc-layout-magazine.lfdc-single-visible, body.single-lfdc_gallery .lfdc-layout-cinema.lfdc-single-visible, body.single-lfdc_gallery .lfdc-layout-hero_details.lfdc-single-visible{display:flex!important;}
body.single-lfdc_gallery .lfdc-layout-contact_sheet{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:clamp(6px,.7vw,10px)!important;padding:10px!important;background:#171513!important;counter-reset:lfdc-shot!important;}
body.single-lfdc_gallery .lfdc-layout-contact_sheet .lfdc-photo-item{position:relative!important;width:auto!important;max-width:none!important;height:auto!important;aspect-ratio:4/3!important;margin:0!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:4px!important;background:#0d0d0d!important;counter-increment:lfdc-shot!important;}
body.single-lfdc_gallery .lfdc-layout-contact_sheet .lfdc-photo-item::before{content:counter(lfdc-shot,decimal-leading-zero)!important;position:absolute!important;z-index:5!important;left:5px!important;bottom:4px!important;padding:2px 4px!important;border-radius:3px!important;background:rgba(0,0,0,.58)!important;color:#fff!important;font:700 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace!important;letter-spacing:.04em!important;pointer-events:none!important;}
body.single-lfdc_gallery .lfdc-layout-contact_sheet .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-contact_sheet .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-contact_sheet .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
body.single-lfdc_gallery .lfdc-layout-contact_sheet .lfdc-photo-item>.lfdc-ulike-media{transform:scale(.88)!important;transform-origin:bottom right!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-flow:dense!important;grid-auto-rows:clamp(62px,6.8vw,96px)!important;gap:clamp(14px,1.5vw,24px)!important;overflow:visible!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item{width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;grid-column:span 2!important;grid-row:span 2!important;border:7px solid #fffdf8!important;border-bottom-width:14px!important;border-radius:3px!important;background:#fffdf8!important;box-shadow:0 8px 22px rgba(72,46,35,.18)!important;transform:rotate(0deg)!important;transform-origin:center!important;transition:transform .2s ease,box-shadow .2s ease!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item:hover{z-index:8!important;transform:rotate(0deg) translateY(-3px)!important;box-shadow:0 14px 28px rgba(72,46,35,.24)!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-hero{grid-column:span 4!important;grid-row:span 4!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-wide{grid-column:span 3!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-tall{grid-column:span 2!important;grid-row:span 3!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-left{transform:rotate(-1.6deg)!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-right{transform:rotate(1.6deg)!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
body.single-lfdc_gallery .lfdc-layout-horizontal_expo{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:clamp(10px,1.2vw,18px)!important;width:100%!important;max-width:none!important;padding:12px 4px 20px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-inline:contain!important;scroll-snap-type:x mandatory!important;scrollbar-width:thin!important;scrollbar-color:#df7338 #eee3d9!important;}
body.single-lfdc_gallery .lfdc-layout-horizontal_expo .lfdc-photo-item{flex:0 0 var(--lfdc-expo-width,72vw)!important;width:var(--lfdc-expo-width,72vw)!important;max-width:none!important;height:var(--lfdc-expo-height,62vh)!important;min-height:0!important;margin:0!important;aspect-ratio:auto!important;scroll-snap-align:center!important;border-radius:10px!important;background:#171513!important;}
body.single-lfdc_gallery .lfdc-layout-horizontal_expo .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-horizontal_expo .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-horizontal_expo .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:#171513!important;margin:0!important;}
body.single-lfdc_gallery .lfdc-layout-editorial_slides{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(12px,2vw,28px)!important;align-items:stretch!important;padding:clamp(4px,1vw,12px) 0!important;}
body.single-lfdc_gallery .lfdc-layout-editorial_slides .lfdc-photo-item{width:auto!important;max-width:none!important;height:auto!important;min-height:clamp(420px,64vh,720px)!important;aspect-ratio:auto!important;margin:0!important;border-radius:12px!important;background:#181615!important;scroll-margin-top:90px!important;}
body.single-lfdc_gallery .lfdc-layout-editorial_slides .is-slide-full{grid-column:1/-1!important;min-height:clamp(520px,80vh,900px)!important;}
body.single-lfdc_gallery .lfdc-layout-editorial_slides .is-slide-wide{grid-column:1/-1!important;min-height:clamp(420px,62vh,700px)!important;}
body.single-lfdc_gallery .lfdc-layout-editorial_slides .is-slide-half{grid-column:span 1!important;}
body.single-lfdc_gallery .lfdc-layout-editorial_slides .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-editorial_slides .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-editorial_slides .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
@media (max-width:900px){
  body.single-lfdc_gallery .lfdc-layout-contact_sheet{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:clamp(72px,12vw,108px)!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-hero{grid-column:span 3!important;grid-row:span 3!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-wide{grid-column:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-tall{grid-column:span 2!important;grid-row:span 3!important;}
  body.single-lfdc_gallery .lfdc-layout-editorial_slides .lfdc-photo-item{min-height:55vh!important;}
  body.single-lfdc_gallery .lfdc-layout-editorial_slides .is-slide-full{min-height:72vh!important;}
}
@media (max-width:600px){
  body.single-lfdc_gallery .lfdc-layout-contact_sheet{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:6px!important;}
  body.single-lfdc_gallery .lfdc-layout-contact_sheet .lfdc-photo-item::before{font-size:8px!important;left:3px!important;bottom:3px!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(112px,31vw,148px)!important;gap:12px!important;padding:16px 10px!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item{grid-column:span 1!important;grid-row:span 1!important;border-width:5px!important;border-bottom-width:10px!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-hero{grid-column:1/-1!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-wide{grid-column:1/-1!important;}
  body.single-lfdc_gallery .lfdc-layout-scrapbook .is-scrap-tall{grid-column:span 1!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-horizontal_expo{gap:8px!important;padding-bottom:14px!important;}
  body.single-lfdc_gallery .lfdc-layout-editorial_slides{grid-template-columns:1fr!important;gap:10px!important;}
  body.single-lfdc_gallery .lfdc-layout-editorial_slides .lfdc-photo-item, body.single-lfdc_gallery .lfdc-layout-editorial_slides .is-slide-full, body.single-lfdc_gallery .lfdc-layout-editorial_slides .is-slide-wide, body.single-lfdc_gallery .lfdc-layout-editorial_slides .is-slide-half{grid-column:1!important;min-height:72svh!important;border-radius:8px!important;}
}
@media (max-width:420px){
  body.single-lfdc_gallery .lfdc-layout-contact_sheet{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
/* Une seule image : les protections génériques restent prioritaires. */
body.single-lfdc_gallery .lfdc-layout-contact_sheet.lfdc-single-visible, body.single-lfdc_gallery .lfdc-layout-scrapbook.lfdc-single-visible, body.single-lfdc_gallery .lfdc-layout-horizontal_expo.lfdc-single-visible, body.single-lfdc_gallery .lfdc-layout-editorial_slides.lfdc-single-visible{display:flex!important;}
.lfdc-lb-image-stage img:not([hidden]){cursor:zoom-in!important;}
.lfdc-lb-image-stage.is-zoomed{display:block!important;overflow:auto!important;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y!important;}
.lfdc-lb-image-stage.is-zoomed img:not([hidden]){max-width:none!important;max-height:none!important;width:auto!important;height:auto!important;margin:0!important;cursor:zoom-out!important;}
body.single-lfdc_gallery .lfdc-public-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;}
:root{--lfdc-public-action-bg:#6f2018;--lfdc-public-action-hover:#521a15;--lfdc-public-action-radius:12px;}
.lfdc-manage-public-btn, .lfdc-lb-download{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:44px!important;padding:10px 15px!important;border:2px solid var(--lfdc-public-action-bg)!important;border-radius:var(--lfdc-public-action-radius)!important;background:var(--lfdc-public-action-bg)!important;color:#fff!important;font:inherit!important;font-weight:850!important;line-height:1.15!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer!important;transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease!important;}
.lfdc-manage-public-btn:hover, .lfdc-manage-public-btn:focus, .lfdc-lb-download:hover, .lfdc-lb-download:focus{border-color:var(--lfdc-public-action-hover)!important;background:var(--lfdc-public-action-hover)!important;color:#fff!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px rgba(82,26,21,.20)!important;outline:none!important;}
.lfdc-manage-public-btn:focus-visible, .lfdc-lb-download:focus-visible{outline:3px solid rgba(223,115,56,.30)!important;outline-offset:2px!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook{padding:clamp(24px,3vw,42px)!important;border-radius:22px!important;border:1px solid rgba(153,117,74,.22)!important;background:radial-gradient(circle at 22% 20%,rgba(255,255,255,.10),transparent 18%),
    radial-gradient(circle at 78% 68%,rgba(255,255,255,.08),transparent 20%),
    linear-gradient(135deg,rgba(160,117,66,.08),rgba(102,66,31,.02)),
    repeating-linear-gradient(90deg,rgba(145,98,53,.035) 0 3px,rgba(255,255,255,0) 3px 42px),
    #ead9c2!important;box-shadow:inset 0 0 0 10px rgba(255,255,255,.22), inset 0 2px 18px rgba(96,59,28,.08)!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item{overflow:visible!important;}
body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item > a{display:block!important;width:100%!important;height:100%!important;overflow:hidden!important;border-radius:1px!important;background:#fffdf8!important;}
@media (max-width:700px){
  body.single-lfdc_gallery .lfdc-layout-scrapbook{padding:16px 10px 18px!important;border-radius:16px!important;}
}
body .lfdc-manager-shell{--lfdc-action-min-h:44px;}
body .lfdc-manager-shell .lfdc-btn, body .lfdc-manager-shell .lfdc-btn-primary, body .lfdc-manager-shell .lfdc-status-toggle, body .lfdc-manager-shell .lfdc-import-picker, body .lfdc-manager-shell .lfdc-filter-reset, body .lfdc-manager-shell .lfdc-preview-btn, body .lfdc-manager-shell .lfdc-next-btn, body .lfdc-manager-shell .lfdc-selection-actions .lfdc-btn, body .lfdc-manager-shell .lfdc-upload-progress-actions .lfdc-btn, body .lfdc-manager-shell .lfdc-upload-failures .lfdc-btn, body .lfdc-dialog .lfdc-btn, body.single-lfdc_gallery .lfdc-manage-public-btn, body .lfdc-lb-download{min-height:var(--lfdc-action-min-h)!important;padding:10px 16px!important;border-radius:12px!important;font-weight:850!important;letter-spacing:.01em!important;}
body .lfdc-manager-shell .lfdc-card-actions .lfdc-btn, body .lfdc-manager-shell .lfdc-public-header-actions .lfdc-btn, body.single-lfdc_gallery .lfdc-public-header-actions > a{min-width:140px!important;}
body .lfdc-manager-shell .lfdc-import-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
body .lfdc-manager-shell .lfdc-import-actions .lfdc-btn{flex:1 1 220px!important;}
body .lfdc-manager-shell .lfdc-card-actions, body.single-lfdc_gallery .lfdc-public-header-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
@media (max-width:700px){
  body .lfdc-manager-shell .lfdc-card-actions .lfdc-btn, body.single-lfdc_gallery .lfdc-public-header-actions > a{width:100%!important;min-width:0!important;}
}
body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item::before, body.single-lfdc_gallery .lfdc-layout-scrapbook .lfdc-photo-item::after{content:none!important;display:none!important;}
body.single-lfdc_gallery .lfdc-layout-reportage, body.single-lfdc_gallery .lfdc-layout-focus_mosaic, body.single-lfdc_gallery .lfdc-layout-photo_wall, body.single-lfdc_gallery .lfdc-layout-filmstrip, body.single-lfdc_gallery .lfdc-layout-moments{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
/* REPORTAGE — grandes respirations éditoriales. */
body.single-lfdc_gallery .lfdc-layout-reportage{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-auto-flow:dense!important;gap:clamp(10px,1.4vw,22px)!important;align-items:stretch!important;}
body.single-lfdc_gallery .lfdc-layout-reportage .lfdc-photo-item{grid-column:span 6!important;min-height:clamp(260px,34vw,470px)!important;margin:0!important;border-radius:12px!important;overflow:hidden!important;background:#171412!important;}
body.single-lfdc_gallery .lfdc-layout-reportage .is-report-hero{grid-column:1/-1!important;min-height:clamp(460px,66vw,780px)!important;}
body.single-lfdc_gallery .lfdc-layout-reportage .is-report-wide{grid-column:span 8!important;min-height:clamp(340px,45vw,560px)!important;}
body.single-lfdc_gallery .lfdc-layout-reportage .is-report-wide + .lfdc-photo-item{grid-column:span 4!important;}
body.single-lfdc_gallery .lfdc-layout-reportage .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-reportage .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-reportage .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
/* FOCUS + MOSAÏQUE — une image principale, une constellation de détails. */
body.single-lfdc_gallery .lfdc-layout-focus_mosaic{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:clamp(120px,13vw,190px)!important;grid-auto-flow:dense!important;gap:clamp(8px,1vw,14px)!important;}
body.single-lfdc_gallery .lfdc-layout-focus_mosaic .lfdc-photo-item{grid-column:span 2!important;grid-row:span 1!important;margin:0!important;overflow:hidden!important;border-radius:10px!important;background:#e8dfd8!important;}
body.single-lfdc_gallery .lfdc-layout-focus_mosaic .is-focus-main{grid-column:span 3!important;grid-row:span 3!important;}
body.single-lfdc_gallery .lfdc-layout-focus_mosaic .is-focus-detail{grid-column:span 2!important;grid-row:span 1!important;}
body.single-lfdc_gallery .lfdc-layout-focus_mosaic .is-focus-wide{grid-column:1/-1!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-focus_mosaic .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-focus_mosaic .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-focus_mosaic .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
/* MUR DE PHOTOS — composition d'exposition avec formats et inclinaisons variés. */
body.single-lfdc_gallery .lfdc-layout-photo_wall{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:clamp(95px,10vw,150px)!important;grid-auto-flow:dense!important;gap:clamp(12px,1.6vw,24px)!important;padding:clamp(18px,2.4vw,34px)!important;background:#f1ece6!important;border-radius:18px!important;}
body.single-lfdc_gallery .lfdc-layout-photo_wall .lfdc-photo-item{grid-column:span 2!important;grid-row:span 2!important;margin:0!important;overflow:hidden!important;border:7px solid #fff!important;border-radius:3px!important;background:#fff!important;box-shadow:0 8px 24px rgba(47,32,24,.14)!important;transform:rotate(0deg)!important;}
body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-large{grid-column:span 3!important;grid-row:span 3!important;}
body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-wide{grid-column:span 3!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-tall{grid-column:span 2!important;grid-row:span 3!important;}
body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-left{transform:rotate(-1.4deg)!important;}
body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-right{transform:rotate(1.6deg)!important;}
body.single-lfdc_gallery .lfdc-layout-photo_wall .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-photo_wall .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-photo_wall .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
/* PELLICULE — bande sombre avec perforations visuelles. */
body.single-lfdc_gallery .lfdc-layout-filmstrip{position:relative!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding:34px 22px!important;border-radius:16px!important;background:radial-gradient(circle at 10px 10px,#f4e9dc 0 4px,transparent 4.5px) 0 0/28px 28px repeat-x,
    radial-gradient(circle at 10px calc(100% - 10px),#f4e9dc 0 4px,transparent 4.5px) 0 100%/28px 28px repeat-x,
    #171515!important;}
body.single-lfdc_gallery .lfdc-layout-filmstrip .lfdc-photo-item{min-height:clamp(260px,34vw,460px)!important;margin:0!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:2px!important;background:#0b0a0a!important;}
body.single-lfdc_gallery .lfdc-layout-filmstrip .is-film-wide{grid-column:1/-1!important;min-height:clamp(360px,48vw,620px)!important;}
body.single-lfdc_gallery .lfdc-layout-filmstrip .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-filmstrip .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-filmstrip .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
/* MOMENTS — densité forte, une image dominante toutes les six photos. */
body.single-lfdc_gallery .lfdc-layout-moments{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:clamp(150px,18vw,250px)!important;grid-auto-flow:dense!important;gap:clamp(6px,.8vw,12px)!important;}
body.single-lfdc_gallery .lfdc-layout-moments .lfdc-photo-item{grid-column:span 1!important;grid-row:span 1!important;margin:0!important;overflow:hidden!important;border-radius:8px!important;background:#e8e2dd!important;}
body.single-lfdc_gallery .lfdc-layout-moments .is-moment-featured{grid-column:span 2!important;grid-row:span 2!important;}
body.single-lfdc_gallery .lfdc-layout-moments .lfdc-photo-item>a, body.single-lfdc_gallery .lfdc-layout-moments .lfdc-photo-item>a>img, body.single-lfdc_gallery .lfdc-layout-moments .lfdc-photo-item>a>video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-shell{width:min(1480px,calc(100vw - 28px))!important;max-width:1480px!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-year-filter{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;margin:0 0 14px!important;padding:2px 0 6px!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-year-filter::-webkit-scrollbar{display:none!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-year-filter button{flex:0 0 auto!important;min-height:36px!important;padding:7px 14px!important;border:1px solid rgba(82,26,21,.16)!important;border-radius:999px!important;background:#fff!important;color:#5b3b31!important;font:inherit!important;font-size:.88rem!important;font-weight:800!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important;}
body.post-type-archive-lfdc_gallery .lfdc-archive-year-filter button.is-active{border-color:#6f2018!important;background:#6f2018!important;color:#fff!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card{border-radius:11px!important;box-shadow:0 4px 14px rgba(52,28,20,.09)!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-cover{aspect-ratio:4/3!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay{padding:38px 12px 11px!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay h2{font-size:clamp(.98rem,1.35vw,1.22rem)!important;line-height:1.08!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay .lfdc-public-date{font-size:.72rem!important;margin-bottom:3px!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay .lfdc-public-count{display:block!important;margin-top:5px!important;color:rgba(255,255,255,.76)!important;font-size:.68rem!important;font-weight:700!important;}
body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card[hidden]{display:none!important;}
@media (max-width:1050px){
  body.post-type-archive-lfdc_gallery .lfdc-public-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:700px){
  body.post-type-archive-lfdc_gallery .lfdc-public-shell{width:calc(100vw - 12px)!important;margin:14px auto 30px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-header{margin-bottom:9px!important;padding-bottom:10px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-header h1{font-size:1.6rem!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-header p{padding-right:0!important;font-size:.82rem!important;line-height:1.35!important;max-width:82%!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-gallery-card{border-radius:8px!important;box-shadow:0 3px 10px rgba(52,28,20,.08)!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-cover{aspect-ratio:1/1!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay{padding:26px 8px 8px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay h2{font-size:.92rem!important;line-height:1.05!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay .lfdc-public-date{font-size:.63rem!important;}
  body.post-type-archive-lfdc_gallery .lfdc-public-card-overlay .lfdc-public-count{font-size:.6rem!important;margin-top:3px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-year-filter{gap:6px!important;margin-bottom:8px!important;padding-bottom:3px!important;}
  body.post-type-archive-lfdc_gallery .lfdc-archive-year-filter button{min-height:32px!important;padding:6px 11px!important;font-size:.78rem!important;}
  body.post-type-archive-lfdc_gallery .lfdc-album-card-like{transform:scale(.82)!important;transform-origin:bottom right!important;}
}
@media (max-width:700px){
  body.single-lfdc_gallery .lfdc-layout-reportage{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(165px,47vw,235px)!important;gap:9px!important;}
  body.single-lfdc_gallery .lfdc-layout-reportage .lfdc-photo-item{grid-column:span 1!important;grid-row:span 1!important;min-height:0!important;}
  body.single-lfdc_gallery .lfdc-layout-reportage .is-report-hero, body.single-lfdc_gallery .lfdc-layout-reportage .is-report-wide{grid-column:1/-1!important;grid-row:span 2!important;min-height:0!important;}
  body.single-lfdc_gallery .lfdc-layout-focus_mosaic{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(150px,43vw,210px)!important;gap:7px!important;}
  body.single-lfdc_gallery .lfdc-layout-focus_mosaic .lfdc-photo-item{grid-column:span 1!important;grid-row:span 1!important;}
  body.single-lfdc_gallery .lfdc-layout-focus_mosaic .is-focus-main{grid-column:1/-1!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-focus_mosaic .is-focus-wide{grid-column:1/-1!important;grid-row:span 1!important;}
  body.single-lfdc_gallery .lfdc-layout-photo_wall{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(145px,41vw,200px)!important;gap:10px!important;padding:10px!important;border-radius:12px!important;}
  body.single-lfdc_gallery .lfdc-layout-photo_wall .lfdc-photo-item{grid-column:span 1!important;grid-row:span 1!important;border-width:4px!important;}
  body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-large, body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-wide{grid-column:1/-1!important;grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-photo_wall .is-wall-tall{grid-row:span 2!important;}
  body.single-lfdc_gallery .lfdc-layout-filmstrip{grid-template-columns:1fr!important;grid-auto-rows:auto!important;gap:7px!important;padding:22px 8px!important;background:radial-gradient(circle at 8px 7px,#f4e9dc 0 3px,transparent 3.5px) 0 0/22px 22px repeat-x,
      radial-gradient(circle at 8px calc(100% - 7px),#f4e9dc 0 3px,transparent 3.5px) 0 100%/22px 22px repeat-x,
      #171515!important;}
  body.single-lfdc_gallery .lfdc-layout-filmstrip .lfdc-photo-item{min-height:clamp(210px,65vw,320px)!important;}
  body.single-lfdc_gallery .lfdc-layout-filmstrip .is-film-wide{grid-column:1!important;min-height:clamp(260px,80vw,390px)!important;}
  body.single-lfdc_gallery .lfdc-layout-moments{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(145px,42vw,205px)!important;gap:7px!important;}
  body.single-lfdc_gallery .lfdc-layout-moments .lfdc-photo-item{grid-column:span 1!important;grid-row:span 1!important;}
  body.single-lfdc_gallery .lfdc-layout-moments .is-moment-featured{grid-column:1/-1!important;grid-row:span 2!important;}
}
body.single-lfdc_gallery .lfdc-gallery-home-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:44px!important;padding:10px 15px!important;border:2px solid #6f2018!important;border-radius:12px!important;background:#6f2018!important;color:#fff!important;font:inherit!important;font-weight:850!important;line-height:1.15!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer!important;transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease!important;}
body.single-lfdc_gallery .lfdc-gallery-home-link:hover, body.single-lfdc_gallery .lfdc-gallery-home-link:focus{border-color:#521a15!important;background:#521a15!important;color:#fff!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px rgba(82,26,21,.20)!important;outline:none!important;}
body.single-lfdc_gallery .lfdc-gallery-home-link:focus-visible{outline:3px solid rgba(223,115,56,.30)!important;outline-offset:2px!important;}
body.single-lfdc_gallery .lfdc-gallery-footer-nav{display:flex!important;justify-content:center!important;width:100%!important;margin:28px 0 8px!important;padding:0!important;}
body.single-lfdc_gallery .lfdc-gallery-home-link-bottom{min-width:min(320px,100%)!important;}
@media (max-width:700px){
  body.single-lfdc_gallery .lfdc-public-header-actions .lfdc-gallery-home-link, body.single-lfdc_gallery .lfdc-gallery-footer-nav .lfdc-gallery-home-link{width:100%!important;}
  body.single-lfdc_gallery .lfdc-gallery-footer-nav{margin-top:20px!important;}
}
