/* Shared by the frontend and standard block editor. */
.reference-navigation-wrap{padding-block:0 36px!important}
.reference-navigation{display:flex;flex-wrap:wrap;gap:10px!important;padding:20px 0 0!important}
.reference-navigation p{margin:0!important}
.reference-navigation a{display:inline-flex;align-items:center;min-height:44px;padding:10px 17px;border:1px solid #b9cbd0;border-radius:5px;background:#fff;color:#173b49;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none}
.reference-navigation a:hover{background:#edf5f7;border-color:#11668a}
.reference-category{scroll-margin-top:44px;padding-block:64px!important}
.reference-category-1,.reference-category-3{background:#fff9e9}
.reference-category-2,.reference-category-4{background:#fff}
.reference-heading{margin-bottom:32px!important;max-width:760px}
.reference-heading .eyebrow{margin-bottom:12px!important}
.reference-heading h2{font-size:clamp(28px,3.4vw,42px);line-height:1.2}
.reference-heading>p:last-child{margin-top:15px!important;font-size:15px;line-height:1.8}
.wp-block-gallery.work-grid.reference-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 26px!important}
.reference-gallery>.wp-block-image{align-self:start;min-width:0}
.reference-gallery .wp-block-image img{aspect-ratio:1!important;object-fit:cover;object-position:var(--reference-position,50% 50%);height:auto!important;width:100%!important;border-radius:7px}
.reference-gallery .wp-block-image figcaption{padding:14px 0 0!important;font-size:13px!important;line-height:1.65!important}
.reference-gallery figcaption strong{font-size:20px;line-height:1.4;display:block}
.reference-more{display:flex;justify-content:center;margin-top:36px!important}
.reference-gallery .lightbox-trigger:focus-visible{outline:3px solid #11668a!important;outline-offset:5px!important}
/* Core copies the thumbnail fit into its overlay. Keep the complete photograph visible there. */
.wp-lightbox-overlay .wp-block-image img{object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important}
@media(max-width:1000px) and (min-width:701px){.wp-block-gallery.work-grid.reference-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.reference-navigation-wrap{padding-bottom:24px!important}.reference-navigation{gap:8px!important}.reference-navigation a{padding:10px 12px;font-size:12px}.reference-category{scroll-margin-top:12px;padding-block:42px!important}.reference-heading{margin-bottom:25px!important}.reference-heading>p:last-child{font-size:13px}.wp-block-gallery.work-grid.reference-gallery{grid-template-columns:1fr;gap:27px!important}.reference-gallery .wp-block-image figcaption{padding-top:12px!important}.reference-more{margin-top:28px!important}}
