.cpt-gallery-api{--gallery-theme-background:var(--dgreena);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--greena-accent);--thumbnail-offset:clamp(8rem, 10dvh, 12rem);--aspect-ratio:3/2}.cpt-gallery-api[data-img-fit=contain]{--fit-img:contain}.cpt-gallery-api[data-img-fit=cover]{--fit-img:cover}.cpt-gallery-api[data-display-type=carousel] .gallery-thumbnails{display:none}.cpt-gallery-api[data-controls=false] .media-controller{display:none}.cpt-gallery-api[data-aspect-ratio="2"]{--aspect-ratio:2/1}.cpt-gallery-api[data-aspect-ratio="3"]{--aspect-ratio:3/1}.cpt-gallery-api[data-aspect-ratio="1.78"]{--aspect-ratio:16/9}.cpt-gallery-api[data-aspect-ratio="1.5"]{--aspect-ratio:3/2}.cpt-gallery-api[data-aspect-ratio="1.33"]{--aspect-ratio:4/3}.cpt-gallery-api{--gallery-theme-background:var(--xdgreena);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--greena-accent)}.cpt-gallery-api.color-Yellow{--gallery-theme-background:var(--xdyellow);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--yellow-accent)}.cpt-gallery-api.color-GreenA{--gallery-theme-background:var(--xdgreena);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--greena-accent)}.cpt-gallery-api.color-GreenB{--gallery-theme-background:var(--xdgreenb);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--greenb-accent)}.cpt-gallery-api.color-Teal{--gallery-theme-background:var(--xdteal);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--teal-accent)}.cpt-gallery-api.color-BlueA{--gallery-theme-background:var(--xdblue);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--blue-accent)}.cpt-gallery-api.color-BlueB{--gallery-theme-background:var(--xdblueb);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--blueb-accent)}.cpt-gallery-api.color-PurpleA{--gallery-theme-background:var(--xdpurplea);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--purplea-accent)}.cpt-gallery-api.color-PurpleB{--gallery-theme-background:var(--xdpurpleb);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--purpleb-accent)}.cpt-gallery-api.color-Pink{--gallery-theme-background:var(--xdpink);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--pink-accent)}.cpt-gallery-api.color-Red{--gallery-theme-background:var(--xdred);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--red-accent)}.cpt-gallery-api.color-Peach{--gallery-theme-background:var(--xdorange);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--orange-accent)}.cpt-gallery-api.color-Orange{--gallery-theme-background:var(--xdorange);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--orange-accent)}.cpt-gallery-api.color-MPurpleA{--gallery-theme-background:var(--xdmpurplea);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mpurplea-accent)}.cpt-gallery-api.color-MPurpleB{--gallery-theme-background:var(--xdmpurpleb);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mpurpleb-accent)}.cpt-gallery-api.color-MPink{--gallery-theme-background:var(--xdmpink);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mpink-accent)}.cpt-gallery-api.color-MRed{--gallery-theme-background:var(--xdmred);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mred-accent)}.cpt-gallery-api.color-MOrange{--gallery-theme-background:var(--xdmorange);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--morange-accent)}.cpt-gallery-api.color-MPeach{--gallery-theme-background:var(--xdmpeach);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mpeach-accent)}.cpt-gallery-api.color-MYellow{--gallery-theme-background:var(--xdmyellow);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--myellow-accent)}.cpt-gallery-api.color-MGreenA{--gallery-theme-background:var(--xdmgreena);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mgreena-accent)}.cpt-gallery-api.color-MGreenB{--gallery-theme-background:var(--xdmgreenb);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mgreenb-accent)}.cpt-gallery-api.color-MTeal{--gallery-theme-background:var(--xdmteal);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mteal-accent)}.cpt-gallery-api.color-MBlueA{--gallery-theme-background:var(--xdmblue);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mblue-accent)}.cpt-gallery-api.color-MBlueB{--gallery-theme-background:var(--xdmblueb);--gallery-theme-foreground:#fff;--gallery-theme-accent:var(--mblueb-accent)}.cpt-gallery-api .gallery-viewer{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;aspect-ratio:var(--aspect-ratio)}.gallery-viewer>*{grid-column:1/-1;grid-row:1/-1}.gallery-viewer>.figure{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;position:relative;align-self:center;aspect-ratio:var(--aspect-ratio);height:auto;width:100%;max-width:100%}.gallery-viewer>.figure>*{grid-column:1/-1;grid-row:1/-1}.gallery-viewer .figure picture,.gallery-viewer .figure picture img{width:100%;height:auto;aspect-ratio:var(--aspect-ratio);object-fit:var(--fit-img,cover);justify-self:center}.gallery-viewer .figure picture img{background-color:var(--gallery-theme-background)}.media-controller{align-self:self-end;z-index:10;display:flex;align-items:flex-start}.media-controller .more-menu[aria-expanded=true] g.close{opacity:1}.media-controller .more-menu[aria-expanded=true] g.more{opacity:0}.media-controller .more-menu[aria-expanded=false] g.close{opacity:0}.media-controller .more-menu[aria-expanded=false] g.more{opacity:1}.media-controller .more-menu[aria-expanded=true]+.additional-controls{display:flex;align-items:flex-start}.media-controller a,.media-controller button{flex-basis:2.5rem;aspect-ratio:1;border:none;background:0 0;display:flex;flex-shrink:0;padding:.25rem}.media-controller svg{width:100%;height:100%}.caption svg>circle,.media-controller svg>circle{fill:var(--gallery-theme-background);stroke:var(--gallery-theme-background)}.caption svg .symbol path,.caption svg g>*,.media-controller svg .symbol path,.media-controller svg g>*{fill:var(--gallery-theme-foreground)}.caption button:focus svg>circle,.caption button:hover svg>circle,.media-controller button:focus svg>circle,.media-controller button:hover svg>circle{fill:var(--gallery-theme-foreground)}.caption button:focus svg .symbol path,.caption button:focus svg g>*,.caption button:hover svg .symbol path,.caption button:hover svg g>*,.media-controller button:focus svg .symbol path,.media-controller button:focus svg g>*,.media-controller button:hover svg .symbol path,.media-controller button:hover svg g>*{fill:var(--gallery-theme-background)}.media-controller[data-state=playing] button.media-play-pause .icon.i-media-play{display:none}.media-controller[data-state=paused] button.media-play-pause .icon.i-media-pause{display:none}.cpt-gallery-api[data-fullscreen=true] button.media-fullscreen .icon.i-media-open-fullscreen{display:none}.cpt-gallery-api[data-fullscreen=false] button.media-fullscreen .icon.i-media-close-fullscreen{display:none}.caption[data-expanded=false] button .i-caption-collapse{display:none}.caption[data-expanded=true] button .i-caption-expand{display:none}.caption button{position:absolute;bottom:.25rem;right:.25rem;aspect-ratio:1;border:none;background:0 0;padding:.25rem}.gallery-viewer .progress{z-index:8;align-self:self-end;width:100%;position:relative;background-color:rgba(0,0,0,.5)}.gallery-viewer .progress-bar{height:.5rem;width:0%;background:var(--gallery-theme-foreground);opacity:.7}[data-allow-captions=true] .media-controller,[data-allow-captions=true] .progress{align-self:self-start}[data-allow-captions=true] .media-controller{justify-content:flex-end}[data-allow-captions=true] .media-controller .additional-controls .media-caption{display:flex}[data-allow-captions=false] .media-controller .additional-controls .media-caption{display:none}.cpt-gallery-api:not([data-download-uri]) .media-controller .additional-controls .gallery-download,[data-download-uri=""] .media-controller .additional-controls .gallery-download{display:none}[data-allow-captions=true] .caption{align-self:self-end;background:rgba(255,255,255,.8);bottom:0;left:0;padding:.5rem;position:absolute;right:0;white-space:wrap;z-index:auto;max-height:3.2em;overflow:hidden}[data-allow-captions=true] .caption[data-expanded=true]{max-height:80%;overflow-y:scroll}[data-allow-captions=true] .caption>div{padding-right:2.5rem}[data-allow-captions=false] .caption,[data-allow-captions=false] .caption:empty,[data-allow-captions=true] .caption:empty,[data-allow-captions=true][data-show-captions=false] .caption{display:none}button.media-caption[aria-expanded=true] .media-expand-caption{opacity:0}button.media-caption[aria-expanded=false] .media-collapse-caption{opacity:0}button.media-caption[disabled]{opacity:.5}.gallery-thumbnails{display:flex;gap:1rem;overflow-x:auto;max-width:100%;width:100%}.gallery-thumbnails button{border:none;background:0 0;padding:0;margin:0;aspect-ratio:1;flex-shrink:0;display:flex;align-items:center;justify-content:center;max-height:12rem;min-height:8rem;height:10dvh}.gallery-thumbnails button img{width:100%;height:100%;object-fit:cover}.gallery-thumbnails button:focus,.gallery-thumbnails button:hover{outline:1rem solid var(--gallery-theme-background);outline-offset:-1rem}.gallery-thumbnails button[aria-pressed=true]{outline:1rem solid var(--gallery-theme-accent);outline-offset:-1rem}.cpt-gallery-api button:hover{cursor:pointer}.cpt-gallery-api .media-controller :is(button,a) :is(.icon){width:3.5rem;height:3.5rem;aspect-ratio:1}@media screen and (display-mode:fullscreen){.cpt-gallery-api .gallery-viewer{max-height:calc(100dvh - (var(--thumbnail-offset)));margin:auto}.gallery-viewer>.figure{height:100%;width:auto;max-width:100%}.gallery-viewer .figure picture,.gallery-viewer .figure picture img{width:auto;height:100%}}