/* A quiet photographic gallery; campaign pages retain their own layout. */
.gallery-studio { padding-bottom: 18px; }
.gallery-studio .gallery-browser { padding-top: 22px; scroll-margin-top: 20px; }
.gallery-studio .gallery-browser-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.gallery-studio .gallery-browser-heading h1 { margin: 0; font: normal clamp(36px, 4vw, 48px)/1.15 Georgia, serif; color: var(--ink); }
.gallery-studio .gallery-browser-heading > a { font-size: 13px; color: var(--muted); }
.gallery-studio .field-album-nav { gap: 12px 28px; padding: 0; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.gallery-studio .field-album-nav a { min-height: 46px; padding: 10px 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font-size: 13px; }
.gallery-studio .field-album-nav a:hover { color: var(--ink); text-decoration: none; }
.gallery-studio .field-album-nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); background: transparent; }
.gallery-studio .gallery-browser[aria-busy="true"] { cursor: progress; }
.gallery-studio .gallery-browser[aria-busy="true"] .field-album-nav { border-bottom-color: var(--accent); }
.gallery-studio .field-grid { display: block; columns: 3; column-gap: 22px; }
.gallery-studio .field-card { position: relative; display: block; break-inside: avoid; margin: 0 0 24px; background: transparent; }
.gallery-studio .field-card-link { display: block; position: relative; aspect-ratio: auto; overflow: hidden; border-radius: 3px; }
.gallery-studio .field-card-link img { display: block; width: 100%; height: auto; object-fit: contain; transition: opacity 180ms ease; }
.gallery-studio .field-card-link:hover img { transform: none; opacity: .94; }
.gallery-studio .field-card-link:focus-visible { outline: 3px solid #b58614; outline-offset: 3px; }
.gallery-studio .field-card figcaption { display: block; margin: 9px 0 0; }
.gallery-studio .field-photo-title { color: var(--muted); font-size: 12px; line-height: 1.55; font-weight: 400; }
.gallery-studio .gallery-open-icon { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; background: #103f3699; border-radius: 3px; color: white; opacity: 0; transition: opacity 180ms ease; }
.gallery-studio .field-card-link:hover .gallery-open-icon,
.gallery-studio .field-card-link:focus-visible .gallery-open-icon { opacity: 1; }
.gallery-studio .field-pagination { margin-top: 16px; padding-top: 20px; }
.gallery-studio .field-pagination > a { padding-inline: 0; background: transparent; border: 0; border-radius: 0; font-weight: 400; }
.gallery-studio .gallery-afterword { margin-top: 0; padding-block: 8px 20px; color: var(--muted); font-size: 12px; }
.gallery-studio .gallery-afterword a { text-decoration: underline; text-underline-offset: 4px; }
.gallery-studio .gallery-clip-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.gallery-studio .gallery-clip-grid video { display: block; width: 100%; aspect-ratio: 16/9; background: #132e30; }
.gallery-studio .gallery-clip-grid figcaption { font-size: 13px; margin-top: 10px; }
@media (max-width: 800px) {
 .gallery-studio .field-grid { columns: 2; column-gap: 16px; }
 .gallery-studio .field-card { margin-bottom: 20px; }
 .gallery-studio .gallery-browser { padding-top: 18px; }
 .gallery-studio .gallery-browser-heading { margin-bottom: 18px; }
 .gallery-studio .gallery-clip-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
 .gallery-studio .field-grid { columns: 1; }
 .gallery-studio .field-album-nav { column-gap: 18px; row-gap: 0; margin-bottom: 22px; }
 .gallery-studio .field-album-nav a { font-size: 12px; }
 .gallery-studio .field-card { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
 .gallery-studio .field-card-link img, .gallery-studio .gallery-open-icon { transition: none; }
}
