.ccc-photo-stack{position:relative;isolation:isolate;width:100%;height:var(--ccc-stack-height,440px);overflow:visible}.ccc-photo-stack .ccc-stack-card{box-sizing:border-box;position:absolute;left:var(--ccc-x);top:var(--ccc-y);width:var(--ccc-stack-width,68%);margin:0;padding:0;border:var(--ccc-stack-border,4px) solid #fff;border-radius:var(--ccc-stack-radius,12px);background:#fff;box-shadow:0 18px 34px #00223438;transform:translate(-50%,-50%) rotate(var(--ccc-angle));z-index:var(--ccc-layer);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}.ccc-photo-stack .ccc-stack-card:hover,.ccc-photo-stack .ccc-stack-card:focus-within{z-index:20;transform:translate(-50%,-50%) rotate(0deg) scale(1.035);box-shadow:0 22px 45px #00223450}.ccc-photo-stack .ccc-stack-open{display:block;line-height:0}.ccc-photo-stack .ccc-stack-open:focus-visible{outline:3px solid #00b6ce;outline-offset:-5px}.ccc-photo-stack img.ccc-stack-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0}.ccc-photo-stack figcaption{font:500 13px/1.4 Arial,sans-serif;text-align:center;color:#123c50;padding:9px 12px;background:#fff}.ccc-stack-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.ccc-photo-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;height:auto;padding:12px 0}.ccc-photo-stack .ccc-stack-card{position:relative;left:auto;top:auto;width:100%;transform:none!important;box-shadow:0 8px 20px #00223425}.ccc-photo-stack .ccc-stack-card:only-child{grid-column:1/-1}.ccc-photo-stack figcaption{font-size:12px;padding:7px}}@media(prefers-reduced-motion:reduce){.ccc-photo-stack .ccc-stack-card{transition:none}.ccc-photo-stack .ccc-stack-card:hover,.ccc-photo-stack .ccc-stack-card:focus-within{transform:translate(-50%,-50%) rotate(var(--ccc-angle))}}

/* Full-viewport gallery lightbox; intentionally isolated from theme button/image styles. */
dialog.ccc-stack-dialog{box-sizing:border-box;position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:rgba(12,14,18,.97);color:#fff;box-shadow:none;overflow:hidden;font:14px/1.5 Arial,sans-serif;color-scheme:dark}
dialog.ccc-stack-dialog[open]{display:grid;grid-template-rows:64px minmax(0,1fr) auto}
dialog.ccc-stack-dialog::backdrop{background:rgba(0,0,0,.92)}
.ccc-stack-dialog [hidden]{display:none!important}
.ccc-stack-dialog .ccc-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;padding:8px 20px;z-index:2;background:linear-gradient(#0004,transparent)}
.ccc-stack-dialog .ccc-lightbox-count{font:13px/1 Arial,sans-serif;letter-spacing:.08em;color:#c9cbd0}
.ccc-stack-dialog .ccc-lightbox-controls{display:flex;gap:8px}
.ccc-stack-dialog button.ccc-lightbox-button{box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:10px;margin:0;background:transparent;border:0;border-radius:50%;box-shadow:none;color:#e8e9ed;cursor:pointer;line-height:1;transition:background .18s ease;transform:none}
.ccc-stack-dialog button.ccc-lightbox-button:hover{background:#ffffff18;color:#fff}
.ccc-stack-dialog button:focus-visible{outline:2px solid #81dbe5;outline-offset:3px}
.ccc-stack-dialog button svg{display:block;width:24px;height:24px;pointer-events:none}
.ccc-stack-dialog .ccc-lightbox-stage{display:flex;position:relative;align-items:center;justify-content:center;min-height:0;padding:6px 80px 16px;touch-action:pan-y}
.ccc-stack-dialog img.ccc-lightbox-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border:0;border-radius:0;margin:0;padding:0;box-shadow:0 12px 50px #0005}
.ccc-stack-dialog .ccc-lightbox-status{color:#bbb;font:14px/1.5 Arial,sans-serif;text-align:center;padding:20px}
.ccc-stack-dialog button.ccc-lightbox-prev,.ccc-stack-dialog button.ccc-lightbox-next{position:absolute;top:46%;width:48px;height:56px;border-radius:5px;background:#ffffff09;z-index:2}
.ccc-stack-dialog button.ccc-lightbox-prev{left:16px}.ccc-stack-dialog button.ccc-lightbox-next{right:16px}
.ccc-stack-dialog .ccc-lightbox-footer{display:flex;align-items:center;flex-direction:column;gap:14px;padding:0 20px max(20px,env(safe-area-inset-bottom));min-width:0;max-height:30vh;overflow:auto}
.ccc-stack-dialog .ccc-lightbox-caption{font:400 14px/1.5 Arial,sans-serif;color:#e6e7eb;text-align:center;max-width:800px;margin:0;overflow-wrap:anywhere}
.ccc-stack-dialog .ccc-lightbox-thumbs{display:flex;gap:8px;max-width:100%;padding:3px 3px 7px;overflow-x:auto;flex-shrink:0}
.ccc-stack-dialog button.ccc-lightbox-thumb{box-sizing:border-box;flex:0 0 66px;width:66px;height:48px;min-width:66px;margin:0;padding:0;border:2px solid transparent;border-radius:4px;background:#292b30;opacity:.5;cursor:pointer;overflow:hidden;box-shadow:none;transition:opacity .18s ease,border-color .18s ease}
.ccc-stack-dialog button.ccc-lightbox-thumb[aria-pressed=true]{border-color:#fff;opacity:1}.ccc-stack-dialog button.ccc-lightbox-thumb:hover{opacity:1}
.ccc-stack-dialog .ccc-lightbox-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;margin:0}
@media(max-width:600px){dialog.ccc-stack-dialog[open]{grid-template-rows:56px minmax(0,1fr) auto}.ccc-stack-dialog .ccc-lightbox-toolbar{padding:5px 10px}.ccc-stack-dialog .ccc-lightbox-stage{padding:4px 12px 18px}.ccc-stack-dialog button.ccc-lightbox-prev,.ccc-stack-dialog button.ccc-lightbox-next{top:45%;width:36px;min-width:36px;height:46px;padding:6px;background:#0007}.ccc-stack-dialog button.ccc-lightbox-prev{left:4px}.ccc-stack-dialog button.ccc-lightbox-next{right:4px}.ccc-stack-dialog .ccc-lightbox-footer{gap:10px;padding-left:12px;padding-right:12px}.ccc-stack-dialog button.ccc-lightbox-thumb{width:54px;min-width:54px;flex-basis:54px;height:40px}.ccc-stack-dialog .ccc-lightbox-caption{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ccc-stack-dialog button{transition:none!important}}
