/* The picture is the component. Controls float over it; captions keep their own space. */
.fvk-content-gallery{margin:2rem 0 2.4rem;clear:both;width:100%;max-width:100%;background:transparent;border:0;min-width:0}
.fvk-content-gallery figure{margin:0!important;max-width:100%}.fvk-content-gallery img{display:block;max-width:100%;height:auto;object-fit:scale-down;margin:0!important}
.fvk-content-gallery figcaption{font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
.fvk-content-gallery.is-enhanced .fvk-gallery-stage{aspect-ratio:1.5;position:relative;min-height:170px;isolation:isolate;border-radius:16px;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px #40372e0d}
.fvk-content-gallery.is-enhanced .fvk-gallery-stage[data-surface=soft]{background:#e7e6e1}
.fvk-content-gallery.is-enhanced .fvk-gallery-slide{position:absolute;inset:0;opacity:0;transition:opacity 140ms ease;pointer-events:none}
.fvk-content-gallery.is-enhanced .fvk-gallery-slide.is-current{opacity:1;pointer-events:auto;z-index:1}
.fvk-content-gallery .fvk-gallery-slide[hidden],.fvk-gallery-controls[hidden],.fvk-content-gallery.is-enhanced figcaption{display:none!important}
.fvk-content-gallery.is-enhanced .fvk-gallery-open{display:flex;width:100%;height:100%;padding:10px;box-sizing:border-box;align-items:center;justify-content:center;cursor:zoom-in;text-decoration:none;position:relative}
.fvk-content-gallery.is-enhanced .fvk-gallery-open>img{width:100%;height:100%;object-fit:scale-down;max-height:100%}
.fvk-gallery-expand{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fffefbf0;color:#554536;box-shadow:0 2px 12px #30261d1a;border:1px solid #fff9;opacity:.9}
.fvk-gallery-expand svg{width:18px;height:18px}
.fvk-gallery-arrow{position:absolute;z-index:4;top:calc(50% - 24px);display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border:1px solid #fff9;border-radius:50%;background:#fffefbf2;color:#514439;box-shadow:0 2px 14px #21180f26;cursor:pointer;transition:background 140ms,transform 140ms}
.fvk-gallery-arrow:hover{background:#fff;transform:scale(1.05)}.fvk-gallery-arrow[data-gallery-prev],.fvk-gallery-arrow[data-zoom-prev]{left:12px}.fvk-gallery-arrow[data-gallery-next],.fvk-gallery-arrow[data-zoom-next]{right:12px}
.fvk-gallery-controls{display:flex;align-items:center;justify-content:center;gap:10px;padding:5px 0 0;min-height:36px;border:0;background:none;flex-wrap:nowrap}
.fvk-gallery-dots{display:flex;align-items:center;justify-content:center;gap:0;max-width:100%}
.fvk-gallery-dots button{position:relative;flex:none;width:32px;height:36px;min-width:32px;min-height:36px;border:0;padding:0;background:transparent;cursor:pointer;border-radius:6px}
.fvk-gallery-dots button:after{content:'';display:block;width:7px;height:7px;margin:auto;border-radius:8px;background:#b5aaa0;transition:width 140ms,background 140ms}
.fvk-gallery-dots [aria-current=true]:after{width:23px;background:#79573e}
.fvk-gallery-counter{color:#766a60;font:12px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums;min-width:3.5em;white-space:nowrap}
.fvk-gallery-captions{display:grid;padding:10px 4px 0;color:#665a50;font-size:.88rem;line-height:1.6;overflow-wrap:anywhere}
.fvk-gallery-captions>div{grid-area:1/1;visibility:hidden;min-width:0}.fvk-gallery-captions>.is-current{visibility:visible}.fvk-gallery-captions p{margin:.3rem 0!important;font-size:inherit!important}
.fvk-content-gallery :focus-visible,.fvk-gallery-dialog :focus-visible{outline:3px solid #a17232;outline-offset:3px}
.fvk-gallery-dialog{box-sizing:border-box;width:min(1500px,98vw);max-width:98vw;height:96dvh;max-height:96dvh;padding:0;border:0;border-radius:16px;background:#faf8f4;color:#514439;overflow:hidden}
.fvk-gallery-dialog[open]{display:flex;flex-direction:column}.fvk-gallery-dialog::backdrop{background:#211b16d9}.fvk-gallery-modal-open{overflow:hidden}
.fvk-zoom-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:8px 12px;flex:none;min-height:48px;box-sizing:border-box}
.fvk-zoom-count{margin-right:auto;font:13px/1.5 system-ui,sans-serif;white-space:nowrap}
.fvk-zoom-toolbar button,.fvk-zoom-toolbar a{font:13px/1.4 system-ui,sans-serif;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;background:transparent;color:inherit;border:1px solid #c5b7a6;border-radius:8px;box-sizing:border-box;text-decoration:none;cursor:pointer}
.fvk-zoom-toolbar [data-zoom-close]{width:44px;border:0;padding:0;border-radius:50%}.fvk-zoom-toolbar [data-zoom-close]:hover{background:#e8dfd4}
.fvk-zoom-stage{position:relative;flex:1;min-height:100px;background:#fff;isolation:isolate}.fvk-zoom-image{position:absolute;inset:0;padding:8px;display:flex;align-items:center;justify-content:center}.fvk-zoom-image img{display:block;width:100%;height:100%;object-fit:scale-down}
.fvk-gallery-dialog[data-background=soft] .fvk-zoom-stage{background:#e7e6e1}.fvk-gallery-dialog[data-background=dark] .fvk-zoom-stage{background:#292724}.fvk-gallery-dialog[data-background=checker] .fvk-zoom-stage{background-color:#fff;background-image:conic-gradient(#e8e5df 25%,transparent 0 50%,#e8e5df 0 75%,transparent 0);background-size:20px 20px}
.fvk-zoom-caption{padding:8px 16px;flex:none;max-height:20dvh;overflow:auto;font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}.fvk-zoom-caption:empty{display:none}.fvk-zoom-caption p{margin:.3rem 0}
.fvk-image-status{position:absolute;z-index:3;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;background:#f3efe9e8;color:#514439;text-align:center;font:14px/1.6 system-ui,sans-serif}
.fvk-image-status[hidden]{display:none!important}.fvk-image-status button,.fvk-image-status a{min-height:44px;display:inline-flex;align-items:center;color:inherit}.fvk-image-status button{font:inherit;padding:6px 16px;background:#fff;border:1px solid #b9a995;border-radius:8px}
@media(max-width:480px){.fvk-content-gallery.is-enhanced .fvk-gallery-stage{aspect-ratio:1.15;border-radius:12px}.fvk-content-gallery.is-enhanced .fvk-gallery-open{padding:7px}.fvk-gallery-arrow{width:44px;height:44px;min-height:44px;top:calc(50% - 22px)}.fvk-gallery-arrow[data-gallery-prev],.fvk-gallery-arrow[data-zoom-prev]{left:6px}.fvk-gallery-arrow[data-gallery-next],.fvk-gallery-arrow[data-zoom-next]{right:6px}.fvk-gallery-expand{width:30px;height:30px;right:8px;bottom:8px}.fvk-gallery-expand svg{width:16px;height:16px}.fvk-gallery-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.fvk-zoom-toolbar{gap:5px;padding:6px;flex-wrap:wrap}.fvk-zoom-toolbar button,.fvk-zoom-toolbar a{font-size:12px;padding:4px 7px}.fvk-zoom-toolbar [data-zoom-close]{flex:none}.fvk-gallery-captions{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.fvk-content-gallery *,.fvk-gallery-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.fvk-content-gallery img:not([src]){display:none}
.fvk-gallery-captions>div{max-height:4.8em;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
