/* These requests are scoped to the footer and the open photo viewer. */
.site-footer .footer-brand .brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { flex: none; }
.footer-brand .brand-copy { min-width: 0; }
.footer-brand .brand-copy small { display: block; line-height: 1.5; }
.site-footer .footer-bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.footer-legal { justify-self: end; }
.footer-credit { display: flex; justify-content: center; text-align: center; }
.footer-credit-pill {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  padding: 10px 16px;
  border: 1px solid #dce7f4;
  border-radius: 999px;
  background: linear-gradient(110deg, #f5eddc, #e9f4ed 52%, #eeeafa);
  color: #29446b;
  box-shadow: 0 3px 12px rgb(0 0 0 / 8%);
  font-size: 12px;
  line-height: 1.6;
}
.site-footer .footer-credit-pill a {
  display: inline;
  margin: 0;
  color: #153a78;
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-credit-pill a:focus-visible { outline: 3px solid #153a78; outline-offset: 3px; border-radius: 4px; }

.prealis-lightbox-open { overflow: hidden; }
.prealis-lightbox {
  box-sizing: border-box;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px 24px;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.prealis-lightbox[open] { display: grid; grid-template-rows: 44px minmax(0, 1fr) auto; gap: 12px; }
.prealis-lightbox::backdrop { background: rgb(9 22 43 / 92%); backdrop-filter: blur(8px); }
.prealis-lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.prealis-lightbox-counter { padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / 10%); font-size: 13px; }
.prealis-lightbox-stage { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 16px; min-height: 0; }
.prealis-lightbox-stage:has(> .prealis-lightbox-previous[hidden]) { grid-template-columns: minmax(0, 1fr); gap: 0; }
.prealis-lightbox figure { position: relative; display: grid; place-items: center; height: 100%; min-height: 0; margin: 0; }
.prealis-lightbox img { width: 100%; height: 100%; max-width: none; object-fit: contain; border-radius: 16px; filter: drop-shadow(0 12px 24px rgb(0 0 0 / 25%)); }
.prealis-lightbox img.is-loading { opacity: 0; }
.prealis-lightbox button { border: 1px solid rgb(255 255 255 / 35%); font: 700 13px 'DM Sans', sans-serif; background: #f7faff; color: #153a78; cursor: pointer; }
.prealis-lightbox button:hover { background: #e7f4ed; }
.prealis-lightbox button:focus-visible { outline: 3px solid #f9c544; outline-offset: 4px; }
.prealis-lightbox button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.prealis-lightbox-close { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 14px; border-radius: 999px; }
.prealis-lightbox-nav { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; box-shadow: 0 4px 20px rgb(0 0 0 / 16%); }
.prealis-lightbox-meta { display: grid; justify-items: center; gap: 6px; }
.prealis-lightbox-caption { max-width: 960px; margin: 0; text-align: center; font-size: 13px; line-height: 1.5; color: #dce6f4; }
.prealis-lightbox-dots { display: flex; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.prealis-lightbox .prealis-lightbox-dot { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.prealis-lightbox-dot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #7e8da4; transition: transform .15s, background .15s; }
.prealis-lightbox-dot.is-active::before { background: #fff; transform: scale(1.3); }
.prealis-lightbox-dot:hover::before { background: #c2d4ed; }
.prealis-lightbox-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; text-align: center; font-size: 14px; color: #dce6f4; pointer-events: none; }
.prealis-lightbox [hidden] { display: none !important; }
@media (max-width: 1000px) {
  .site-footer .footer-bottom-inner { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
  .footer-legal { justify-self: center; }
}
@media (max-width: 640px) {
  .prealis-lightbox { padding: 12px 8px; }
  .prealis-lightbox-stage { display: block; position: relative; }
  .prealis-lightbox-nav { position: absolute; z-index: 1; top: calc(50% - 22px); width: 44px; height: 44px; background: rgb(247 250 255 / 94%); }
  .prealis-lightbox-previous { left: 4px; }
  .prealis-lightbox-next { right: 4px; }
  .prealis-lightbox-caption { font-size: 12px; padding: 0 8px; }
  .footer-credit-pill { max-width: 100%; padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) { .prealis-lightbox-dot::before { transition: none; } }
