/* Scoped Slide Deck, framed by the existing illustrated desk. */
.mc-t1-gallery{position:relative;isolation:isolate;box-sizing:border-box;width:100%;margin:0!important;padding:clamp(22px,3vw,38px) 8% clamp(22px,2.6vw,34px);color:#fff3d9;background:#6c4328 url('../t1/galerie-bois.webp') center/100% 100% no-repeat;}
.mc-t1-gallery::before,.mc-t1-gallery::after{content:'';position:absolute;top:0;bottom:0;width:18%;z-index:-1;background-repeat:no-repeat;background-size:100% 100%;pointer-events:none}
.mc-t1-gallery::before{left:0;background-image:url('../t1/galerie-decor-gauche.webp')}
.mc-t1-gallery::after{right:0;background-image:url('../t1/galerie-decor-droite.webp')}
.mc-t1-gallery-heading{position:relative;z-index:1;width:max-content;max-width:100%;margin:0 auto clamp(14px,2vw,24px)!important;padding:0 1.5rem 0.7rem;border-bottom:1px solid #d5b36e;color:#fff0ca;text-align:center;font:600 clamp(1.25rem,2vw,1.75rem)/1.3 Georgia,serif;text-shadow:0 2px 8px #180e08b3}
.mc-t1-gallery-frame{position:relative;width:100%;max-width:1280px;margin:0 auto}
.mc-t1-gallery-stage{position:relative;width:100%;aspect-ratio:3/2;box-shadow:0 8px 20px #24160b66;touch-action:pan-y}
.mc-t1-gallery-slide{margin:0!important;width:100%;height:100%}
.mc-t1-gallery-slide[hidden]{display:none!important}
.mc-t1-gallery-slide img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;margin:0;border:0}
.mc-t1-gallery-controls{position:static;display:flex;justify-content:center;align-items:center;gap:1rem}
.mc-t1-gallery-controls button{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:56px;height:56px;padding:0;border:1px solid #e4c17c;border-radius:50%;background:#092945ed;color:#ffe9b9;font:52px/1 Georgia,serif;cursor:pointer;box-shadow:0 3px 9px #0006;transition:background-color .16s ease,box-shadow .16s ease}
.mc-t1-gallery-prev{left:1.4%}.mc-t1-gallery-next{right:1.4%}
.mc-t1-gallery-controls button:disabled{opacity:.35;cursor:default}
.mc-t1-gallery-controls button:not(:disabled):hover{background:#214c68;box-shadow:0 4px 13px #0008}
.mc-t1-gallery-controls button:focus-visible,.mc-t1-gallery:focus-visible{outline:3px solid #ffe8ab;outline-offset:3px}
.mc-t1-gallery-status{margin:.65rem 0 0!important;padding:.24rem .85rem;background:#092945e8;border:1px solid #c5a26b;font:600 .9rem/1.3 Georgia,serif;color:#fff3d9;border-radius:2px}
@media(max-width:800px){
 .mc-t1-gallery{padding:20px 6px 14px;background-size:100% 100%}
 .mc-t1-gallery::before,.mc-t1-gallery::after{width:22%}
 .mc-t1-gallery-heading{margin-bottom:14px!important;padding:0 .5rem .55rem;font-size:clamp(1.1rem,4.8vw,1.45rem);line-height:1.25}
 .mc-t1-gallery-controls{margin-top:9px;gap:1rem}
 .mc-t1-gallery-controls button{position:static;transform:none;width:48px;height:48px;flex-shrink:0;font-size:43px;touch-action:manipulation}
 .mc-t1-gallery-status{margin:0!important;min-width:58px;text-align:center}
}
