/* Public archive + homepage preview only. Photos and captions retain their own proportions. */
body.ft4419-public .ft77-gallery,
body.ft4419-public .ft77-gallery-preview {
  --ftg-ink:#1d1d1f; --ftg-muted:#5b5c65; --ftg-line:#d8d8df; --ftg-soft:#f0f1f4;
  color:var(--ftg-ink); min-width:0;
}
body.ft4419-public .ft77-gallery {padding-block:clamp(28px,4vw,64px) clamp(52px,6vw,86px); background:#fff}
.ft77-gallery__inner{width:min(var(--ft77-width),calc(100% - 2 * var(--ft77-gutter)));margin-inline:auto}
.ft77-gallery__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px; margin-bottom:24px}
body.ft4419-public .ft77-gallery__label{margin:0 0 8px;color:var(--ftg-muted);font-size:.72rem;font-weight:650;letter-spacing:.11em;text-transform:uppercase}
body.ft4419-public .ft77-gallery__heading h2{margin:0;font-size:clamp(1.7rem,3.3vw,2.8rem);line-height:1.07;letter-spacing:-.045em;color:var(--ftg-ink)}
body.ft4419-public .ft77-gallery__lede{font-size:clamp(.96rem,1.15vw,1.08rem);line-height:1.5;color:var(--ftg-muted);max-width:58ch;margin:9px 0 0}
.ft77-gallery__count{font-size:.79rem;font-weight:600;white-space:nowrap;color:var(--ftg-muted);padding:7px 12px;border:1px solid var(--ftg-line);border-radius:999px}
body.ft4419-public .ft77-gallery__tabs{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.ft77-gallery__tabs button,.ft77-gallery__pages button{appearance:none;cursor:pointer;font:inherit;text-transform:none;letter-spacing:normal;box-shadow:none;transform:none}
body.ft4419-public .ft77-gallery__tabs button{min-height:44px;background:var(--ftg-soft);color:#34343b;border:1px solid transparent;border-radius:24px;padding:8px 15px;font-size:.88rem;line-height:1.2;font-weight:540}
body.ft4419-public .ft77-gallery__tabs button[aria-pressed=true]{color:white;background:#252528}
.ft77-gallery__wall,.ft77-gallery-preview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;column-gap:clamp(12px,1.65vw,24px);row-gap:clamp(22px,3vw,40px)}
body.ft4419-public .ft77-photo{grid-column:span 3;padding:0;margin:0;min-width:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important}
body.ft4419-public .ft77-gallery__wall>.ft77-photo--trio,body.ft4419-public .ft77-gallery-preview>.ft77-photo{grid-column:span 2}
body.ft4419-public .ft77-photo__frame{position:relative;display:block;isolation:isolate;width:100%;aspect-ratio:1.45;border:0;padding:0;overflow:hidden;border-radius:clamp(13px,1.35vw,22px);background:var(--ftg-soft);text-decoration:none;box-shadow:none;cursor:zoom-in}
.ft77-gallery .ft77-photo--trio .ft77-photo__frame{aspect-ratio:4/5}
body.ft4419-public .ft77-photo__frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 45%;margin:0;transition:transform .42s cubic-bezier(.2,.64,.2,1)}
body.ft4419-public .ft77-photo--portrait .ft77-photo__frame img{object-position:50% 31%}
.ft77-photo__expand{position:absolute;display:grid;place-items:center;right:12px;bottom:12px;width:35px;height:35px;border-radius:50%;color:#fff;background:rgba(17,18,23,.74);pointer-events:none;transition:transform .24s}
body.ft4419-public .ft77-photo__caption{display:grid;align-content:start;gap:4px;padding:13px 2px 0;margin:0;background:transparent;border:0;color:var(--ftg-ink);text-align:left;overflow-wrap:anywhere}
.ft77-photo__topic{font-size:.69rem;font-weight:650;letter-spacing:.075em;text-transform:uppercase;color:var(--ftg-muted)}
.ft77-photo__title{font-size:clamp(1rem,1.3vw,1.22rem);font-weight:625;line-height:1.24;letter-spacing:-.028em}
.ft77-photo__description{line-height:1.48;color:var(--ftg-muted);font-size:.94rem;margin-top:2px}
.ft77-gallery__pages{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--ftg-line);padding-top:24px;margin-top:36px;color:var(--ftg-muted);font-size:.87rem}
body.ft4419-public .ft77-gallery__pages button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 18px;border:1px solid var(--ftg-line);border-radius:999px;background:white;color:#222226;line-height:1.2;font-size:.92rem;font-weight:600}
.ft77-gallery__empty{padding:24px;border-radius:12px;background:#f5f5f7}
body.ft4419-public .ft77-gallery [hidden]{display:none!important}
body.ft4419-public .ft77-gallery :focus-visible,body.ft4419-public .ft77-gallery-preview :focus-visible{outline:3px solid #0066cc;outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .ft77-photo__frame:hover img,.ft77-photo__frame:focus-visible img{transform:scale(1.027)}
  .ft77-photo__frame:hover .ft77-photo__expand{transform:scale(1.08)}
  body.ft4419-public .ft77-gallery__tabs button:not([aria-pressed=true]):hover,.ft77-gallery__pages button:hover{background:#e5e7ec}
}
@media(max-width:800px){
  .ft77-gallery__wall{column-gap:13px}
  body.ft4419-public .ft77-gallery__wall>.ft77-photo--trio{grid-column:span 3}
  .ft77-gallery .ft77-photo--trio .ft77-photo__frame{aspect-ratio:1.1}
  .ft77-gallery-preview{gap:12px}
}
@media(max-width:640px){
  .ft77-gallery__inner{width:calc(100% - 2 * var(--ft77-gutter))}
  .ft77-gallery__heading{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:18px}
  .ft77-gallery__count{border:0;padding:0;font-size:.8rem}
  body.ft4419-public .ft77-gallery__tabs{gap:6px;margin-bottom:20px}
  body.ft4419-public .ft77-gallery__tabs button{font-size:.81rem;padding-inline:11px}
  .ft77-gallery__wall{display:grid;grid-template-columns:minmax(0,1fr);row-gap:24px}
  body.ft4419-public .ft77-gallery__wall>.ft77-photo,body.ft4419-public .ft77-gallery__wall>.ft77-photo--trio{grid-column:auto}
  .ft77-gallery .ft77-photo__frame,.ft77-gallery .ft77-photo--trio .ft77-photo__frame{aspect-ratio:1.38}
  .ft77-gallery .ft77-photo--portrait .ft77-photo__frame{aspect-ratio:4/4.5;max-height:68svh}
  .ft77-gallery-preview{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 4px 10px;overscroll-behavior-x:contain}
  .ft77-gallery-preview>.ft77-photo{flex:0 0 84%;scroll-snap-align:start}
  .ft77-gallery-preview .ft77-photo__frame{aspect-ratio:1.24}
}
@media(prefers-reduced-motion:reduce){
  body.ft4419-public .ft77-photo__frame img,.ft77-photo__expand{transition:none!important;transform:none!important}
}
