/* UR Gallery contract 1. Mobile first. Width/font inherited from parent, no container inside container. */
.ur-gallery{box-sizing:border-box;width:100%;max-width:100%;margin:0;font:inherit;color:inherit;clear:both}
.ur-gallery *{box-sizing:border-box}
.ur-gallery__grid{display:flex;flex-wrap:wrap;margin:-6px}
.ur-gallery .ur-gallery__item{display:block;min-width:0;width:calc(100% - 12px);margin:6px;padding:0;background:none;border:0}
.ur-gallery .ur-gallery__link{position:relative;display:block;width:100%;overflow:hidden;text-decoration:none;border:0;border-radius:12px;border-radius:var(--ur-gallery-radius,var(--ur-radius,12px));background:#f4f7f8;background:var(--ur-gallery-surface,var(--ur-surface,var(--theme-palette-color-7,#f4f7f8)))}
.ur-gallery .ur-gallery__link::before{content:"";display:block;padding-top:75%;padding-top:var(--ur-gallery-ratio,75%)}
.ur-gallery .ur-gallery__image{position:absolute;top:0;left:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;margin:0;border:0;border-radius:0;transition:transform .22s ease}
.ur-gallery .ur-gallery__link:focus{outline:3px solid #0876a5;outline-color:var(--ur-gallery-accent,var(--ur-blue,var(--theme-palette-color-1,#0876a5)));outline-offset:3px}
.ur-gallery .ur-gallery__caption{font:inherit;font-size:.875em;line-height:1.5;margin:0;padding:10px 0 0;color:inherit;overflow-wrap:break-word}
.ur-gallery__notice{font:inherit;font-size:.875em;line-height:1.5;margin:0 0 14px;color:inherit}
.ur-gallery__pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin-top:24px;gap:12px}
.ur-gallery__pagination:empty{display:none}
.ur-gallery .ur-gallery__more,.ur-gallery .ur-gallery__previous{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;font:inherit;font-weight:600;font-size:.95em;line-height:1.4;text-align:center;text-decoration:none;border:1px solid currentColor;color:#0876a5;color:var(--ur-gallery-accent,var(--ur-blue,var(--theme-palette-color-1,#0876a5)));background:transparent;border-radius:var(--ur-gallery-button-radius,var(--theme-button-border-radius,7px));cursor:pointer}
.ur-gallery .ur-gallery__more:hover,.ur-gallery .ur-gallery__previous:hover{background:var(--ur-gallery-surface,var(--ur-surface,#f4f7f8))}
.ur-gallery .ur-gallery__more:focus,.ur-gallery .ur-gallery__previous:focus{outline:2px solid currentColor;outline-offset:3px}
.ur-gallery [aria-disabled=true]{opacity:.65;cursor:progress}
/* Live announcements never add/remove document height while opening a photo. */
.ur-gallery__status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.ur-gallery [hidden]{display:none!important}
@media(min-width:360px){.ur-gallery .ur-gallery__item{width:calc(50% - 12px)}}
@media(min-width:768px){.ur-gallery .ur-gallery__item{width:calc(33.333333% - 12px)}}
@supports(display:grid){
 .ur-gallery__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;gap:var(--ur-gallery-gap,12px);margin:0}
 .ur-gallery .ur-gallery__item{width:auto;margin:0}
 @media(min-width:360px){.ur-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
 @media(min-width:768px){.ur-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ur-gallery-gap,18px)}}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ur-gallery__link:hover .ur-gallery__image{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){.ur-gallery .ur-gallery__image{transition:none;transform:none}}

/* 3.5.2: visible error recovery, outside the gallery flow and without a modal lock. */
body > .ur-gallery-feedback{position:fixed;z-index:99990;left:16px;right:16px;bottom:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:auto;max-width:540px;margin:0 auto;padding:18px;border:1px solid #c8d4da;border-radius:12px;box-shadow:0 8px 32px rgba(24,40,50,.18);background:#fff;color:#242c32;font:inherit;font-family:var(--theme-font-family,inherit);font-size:16px;line-height:1.5;text-align:left;box-sizing:border-box;max-height:calc(100vh - 104px);max-height:calc(100dvh - 104px);overflow:auto;overscroll-behavior:contain;isolation:isolate}
.ur-gallery-feedback *{box-sizing:border-box}
.ur-gallery-feedback .ur-gallery-feedback__message{padding:0 36px 0 0;margin:0 0 12px;font:inherit;color:inherit;overflow-wrap:break-word}
.ur-gallery-feedback .ur-gallery-feedback__close{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:10px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:inherit;cursor:pointer}
.ur-gallery-feedback__close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;pointer-events:none}
.ur-gallery-feedback .ur-gallery-feedback__actions{display:flex;flex-wrap:wrap;margin:-4px;padding:0;gap:0}
.ur-gallery-feedback .ur-gallery-feedback__action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 14px;margin:4px;border:1px solid #0876a5;border-radius:7px;background:#0876a5;color:#fff;font:inherit;font-size:15px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:break-word;box-shadow:none;cursor:pointer}
.ur-gallery-feedback .ur-gallery-feedback__action--link{background:#fff;color:#0876a5}
.ur-gallery-feedback .ur-gallery-feedback__action:hover{background:#065e85;border-color:#065e85;color:#fff}
.ur-gallery-feedback .ur-gallery-feedback__action--link:hover,.ur-gallery-feedback .ur-gallery-feedback__close:hover{background:#edf5f8;color:#065e85}
.ur-gallery-feedback button:focus,.ur-gallery-feedback a:focus{outline:2px solid #0876a5;outline-offset:2px}
@media(max-width:359px){body > .ur-gallery-feedback{left:12px;right:12px;padding:16px}.ur-gallery-feedback .ur-gallery-feedback__action{flex:1 1 100%}}
