body .clere-gallery-open {display:block;width:100%;padding:0;border:0;background:none;color:inherit;cursor:zoom-in;border-radius:0!important;overflow:hidden;}
body .clere-gallery-open:focus-visible {outline:3px solid #75a8c1;outline-offset:5px;}
body .clere-gallery-open img {margin:0!important;}
body:has(#clere-gallery-dialog[open]) {overflow:hidden!important;}
#clere-gallery-dialog {position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:24px;border:0;background:rgba(10,16,28,.97);color:#fff;z-index:2147483647;box-sizing:border-box;}
#clere-gallery-dialog:not([open]) {display:none;}
#clere-gallery-dialog::backdrop {background:#0a101c;}
.clere-gallery-viewer {max-width:1500px;height:100%;margin:auto;display:flex;flex-direction:column;gap:14px;}
#clere-gallery-dialog button {font:inherit;font-size:14px;font-weight:500;line-height:1.4;color:#fff;background:transparent;border:1px solid #ffffff50;border-radius:28px;padding:10px 20px;cursor:pointer;}
#clere-gallery-dialog button:hover {background:transparent!important;box-shadow:none!important;outline:none;}
#clere-gallery-dialog button:focus-visible {outline:1px solid #fff;outline-offset:3px;}
#clere-gallery-dialog .clere-gallery-close {align-self:flex-end;flex-shrink:0;border:0;}
.clere-gallery-close span {font-size:24px;margin-left:10px;vertical-align:middle;}
#clere-gallery-dialog figure {margin:0;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;}
#clere-gallery-large {display:block;max-width:100%;width:auto;min-height:0;max-height:100%;object-fit:contain;flex:1;}
#clere-gallery-caption {font:inherit;font-size:14px;flex-shrink:0;}
#clere-gallery-dialog nav {display:flex;align-items:center;justify-content:center;gap:26px;flex-shrink:0;}
#clere-gallery-count {font-size:14px;font-variant-numeric:tabular-nums;}
@media(max-width:600px){#clere-gallery-dialog{padding:12px;}#clere-gallery-dialog nav{gap:14px;}#clere-gallery-dialog button{padding:10px 14px;}.clere-gallery-viewer{gap:10px;}}

body button.clere-gallery-open,body button.clere-gallery-open:hover,body button.clere-gallery-open:focus {border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;}
body .clere-gallery-open img {border-radius:0!important;}

/* Light, quiet viewer with direct access to the original photographs. */
#clere-gallery-dialog {background:#f7f7f5;color:#171927;padding:20px 30px;}
#clere-gallery-dialog::backdrop {background:#f7f7f5;}
.clere-gallery-viewer {max-width:1440px;gap:10px;}
#clere-gallery-dialog button {color:#171927!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:7px 14px;}
#clere-gallery-dialog .clere-gallery-close {font-size:13px;padding:0 4px;line-height:32px;}
#clere-gallery-large {border-radius:12px;box-shadow:0 8px 36px #1719270c;}
#clere-gallery-caption {font-size:13px;letter-spacing:.02em;}
#clere-gallery-dialog nav {gap:16px;}
#clere-gallery-dialog nav button {font-size:12px;}
#clere-gallery-count {font-size:11px;color:#74747d;}
#clere-gallery-dialog button:focus-visible {outline:1px solid #171927!important;outline-offset:3px;}
.clere-gallery-thumbs {display:flex;justify-content:center;gap:8px;flex-shrink:0;padding:4px;}
#clere-gallery-dialog .clere-gallery-thumbs button {width:54px;height:54px;padding:0;border-radius:6px!important;overflow:hidden;opacity:.5;flex:0 1 54px;}
.clere-gallery-thumbs img {width:100%;height:100%;object-fit:cover;display:block;}
#clere-gallery-dialog .clere-gallery-thumbs button[aria-pressed="true"] {opacity:1;outline:2px solid #171927;outline-offset:2px;}
@media(max-width:600px){#clere-gallery-dialog{padding:12px;}.clere-gallery-thumbs{gap:5px;}#clere-gallery-dialog .clere-gallery-thumbs button{height:38px;max-width:38px;}#clere-gallery-large{border-radius:8px;}}

/* Full-size gallery in the approved navy palette. */
#clere-gallery-dialog {background:#111526;color:#fff;padding:46px 20px 48px;}
#clere-gallery-dialog::backdrop {background:#111526;}
.clere-gallery-viewer {max-width:none;gap:0;}
#clere-gallery-dialog .clere-gallery-close {position:absolute;right:20px;top:8px;color:#fff!important;}
#clere-gallery-dialog figure {gap:0;}
#clere-gallery-large {width:100%;height:100%;max-height:100%;border-radius:0;box-shadow:none;object-fit:contain;}
#clere-gallery-caption {display:none;}
#clere-gallery-dialog nav {position:absolute;bottom:8px;left:0;right:0;gap:20px;}
#clere-gallery-dialog nav button {color:#fff!important;}
#clere-gallery-count {color:#ffffffa6;}
#clere-gallery-dialog button:focus-visible {outline-color:#fff!important;}
@media(max-width:600px){#clere-gallery-dialog{padding:44px 8px 46px;}}

/* Round the actual image bounds, including when the viewer is wider than the photo. */
#clere-gallery-large {width:auto;height:auto;max-width:100%;max-height:100%;flex:0 1 auto;border-radius:24px;}
@media(max-width:600px){#clere-gallery-large{border-radius:16px;}}

/* Gallery viewer inspired by the reference, in the cabinet's navy palette. */
#clere-gallery-dialog {padding:64px 30px 90px;overflow:hidden;background:#111526;}
#clere-gallery-dialog::backdrop {background:#111526f2;backdrop-filter:blur(10px);}
#clere-gallery-dialog figure {position:static;}
#clere-gallery-caption {display:block;position:absolute;bottom:29px;left:30px;color:#fff;font-size:15px;line-height:1.4;text-align:left;}
#clere-gallery-dialog nav {left:auto;right:30px;bottom:20px;gap:12px;}
#clere-gallery-dialog nav button,#clere-gallery-dialog .clere-gallery-close {display:grid;place-items:center;width:48px;height:42px;padding:0!important;border-radius:14px!important;background:#7aabbd!important;color:#fff!important;transition:background .2s;}
#clere-gallery-dialog .clere-gallery-close {top:12px;right:30px;}
#clere-gallery-dialog button:hover {background:#54879e!important;}
#clere-gallery-dialog svg {width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;}
#clere-gallery-count {min-width:48px;text-align:center;font-size:13px;}
#clere-gallery-large {border-radius:20px;}
@media(max-width:600px){
 #clere-gallery-dialog {padding:64px 12px 126px;}
 #clere-gallery-dialog .clere-gallery-close {right:12px;}
 #clere-gallery-caption {left:16px;right:16px;bottom:80px;font-size:14px;}
 #clere-gallery-dialog nav {right:16px;bottom:20px;}
 #clere-gallery-large {border-radius:16px;}
}

/* A single grid owns both axes; no Salient row or column gutters remain. */
body #ajax-content-wrap .clere-gallery-tiles{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important;width:100%!important;max-width:100%!important;min-width:0;margin:0!important;padding:0!important;box-sizing:border-box;}
body #ajax-content-wrap .clere-gallery-tiles > button{display:block!important;width:100%!important;min-width:0;aspect-ratio:1;margin:0!important;padding:0!important;border:0!important;line-height:0!important;border-radius:0!important;transform:none!important;overflow:hidden;}
body #ajax-content-wrap .clere-gallery-tiles > button > img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:1;object-fit:cover;margin:0!important;padding:0!important;border:0!important;transform:none!important;border-radius:0!important;}
@media(max-width:999px){body #ajax-content-wrap .clere-gallery-tiles{grid-template-columns:repeat(2,minmax(0,1fr));}}
