@layer components{#dcf-gallery-dialog{height:calc(100vh - 2em)}.dcf-gallery-img,.dcf-gallery-thumbnails li{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.dcf-modal-header-gallery{padding:.42em}.dcf-modal-content-gallery{grid-template-columns:auto 1fr auto;grid-template-rows:1fr auto}.dcf-gallery-prev{grid-area:1/1/2/2;padding-left:1em;padding-right:1em}.dcf-gallery-next{grid-area:1/3/2/4;padding-left:1em;padding-right:1em}.dcf-gallery-figure{border-bottom:1px solid var(--b);grid-area:1/2/2/3;padding-bottom:1em}.dcf-gallery-img-box{flex:1 1 0}.dcf-gallery-thumbnails{grid-area:2/1/3/-1;padding-bottom:1.33em;padding-top:1em}.dcf-gallery-thumbnails-list{list-style:none}.dcf-gallery-figure img{max-height:100%;max-width:100%}.dcf-gallery-figcaption{padding-top:1.33em;width:100%}.dcf-modal-content-gallery li[aria-selected=true] div{border:2px solid var(--bg-brand-alpha)}.dcf-modal-content-gallery li:first-child{margin-left:auto}.dcf-modal-content-gallery li:last-child{margin-right:auto}.dcf-modal-content-gallery li:first-child div{margin-left:1.78em}.dcf-modal-content-gallery li:last-child div{margin-right:1.78em}.dcf-gallery-thumbnails-list{-moz-column-gap:.75em;column-gap:.75em}.unl .dcf-gallery-thumbnails-list li:focus{outline:0}.unl .dcf-gallery-thumbnails-list li:focus-visible div{box-shadow:0 0 0 3px var(--bg-body),0 0 0 5px var(--b-input-focus)}.unl .dcf-gallery-figcaption{line-height:1.33}.unl .dcf-gallery-img-credit{font-size:.75em}}
