/* Preserve the original visual system; replace Bootstrap JS with URL fragments. */
:root { scroll-padding-top: 95px; scroll-behavior: auto; }
body { overflow-wrap: break-word; }
a:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--ca-color-bg-11); outline-offset: 4px; }
button:focus-visible { outline: 3px solid var(--ca-color-bg-11); outline-offset: 4px; }
.offcanvas:target { visibility: visible; transform: none; }
html:has(.offcanvas:target, .lightbox:popover-open) { overflow: hidden; }
.offcanvas:target .offcanvas-body { overscroll-behavior: contain; }
.offcanvas .btn-close { display: inline-block; flex-shrink: 0; }
.quote-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.quote-slide { scroll-snap-align: start; min-width: 0; }
.lightbox-trigger { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; cursor: zoom-in; }
.lightbox { display: none; margin: auto; padding: 1rem; border: 0; background: transparent; color: #fff; max-width: 100vw; max-height: 100svh; overflow: visible; }
.lightbox:popover-open { display: grid; justify-items: center; gap: .75rem; }
.lightbox::backdrop { background: rgb(0 0 0 / 92%); }
.lightbox img { display: block; width: auto; height: auto; max-width: calc(100vw - 2rem); max-height: calc(100svh - 9rem); object-fit: contain; }
.lightbox-close { position: absolute; right: 1rem; top: -2rem; font-size: 1.5rem; line-height: 1; }
.lightbox figcaption { margin: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
