.custom-gallery{padding:20px;background:#fffdf7;border:1px solid #e3d4bd;border-radius:24px;margin:30px 0}.custom-gallery-slide{margin:0}.custom-gallery-slide[hidden]{display:none}.custom-gallery-slide img{display:block;width:100%;height:clamp(250px,48vw,570px);object-fit:contain;background:#f6eddf;border-radius:14px}.custom-gallery-slide figcaption{padding:20px 10px;min-height:120px}.custom-gallery-slide h3{margin:0 0 12px;font-size:28px}.custom-gallery-slide p{font-size:14px;max-width:850px}.custom-gallery-controls,.custom-gallery-dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}.custom-gallery button{min-width:44px;min-height:44px;border-radius:10px;border:1px solid #a75823;background:#eda24a;color:#482a17;font-weight:700;cursor:pointer}.custom-gallery-dots{margin-top:14px;gap:8px}.custom-gallery-dots .gallery-dot{min-width:38px;min-height:38px;border-radius:50%;background:#fff9ee;border-color:#b2cfc7;color:#1c5b59}.custom-gallery-dots .gallery-dot[aria-current=true]{background:#225d5b;color:#fff}.custom-gallery button:focus-visible{outline:3px solid #ce267e;outline-offset:4px}.custom-gallery button:disabled{opacity:.65;cursor:default}@media(max-width:600px){.custom-gallery{padding:12px}.custom-gallery-slide h3{font-size:24px}.custom-gallery-slide img{height:auto;max-height:460px}.custom-gallery-slide figcaption{min-height:140px}.custom-gallery-controls{gap:8px}}@media(prefers-reduced-motion:reduce){.custom-gallery *{animation:none!important;transition:none!important}}
