.gallery-archive {background:#f6f8fa;color:#174e73}
.photo-archive{max-width:1440px;margin:0 auto;padding:60px 48px 70px}
.photo-heading{padding:0 0 42px}
.photo-heading h1{font-size:clamp(48px,6.5vw,88px);line-height:1.05;letter-spacing:-.055em;font-weight:500;margin:0 0 22px}
.photo-intro{font-size:20px;color:#526b7d;margin:0}
.photo-tools{display:flex;align-items:end;justify-content:space-between;gap:28px;padding:25px 0;border-top:1px solid #d6e1e8;border-bottom:1px solid #d6e1e8}
.photo-years{display:flex;gap:6px;flex-wrap:wrap;max-width:790px}
.photo-years button,.photo-results button{border:0;background:transparent;color:#49677e;font:inherit;cursor:pointer}
.photo-years button{font-size:15px;padding:10px 14px;white-space:nowrap}
.photo-search{display:grid;gap:7px;font-size:12px;font-weight:600;color:#49677e;min-width:260px}
.photo-search input{background:white;border:1px solid #b3c8d5;border-radius:8px;padding:12px;font:inherit;font-size:14px;color:#174e73;width:100%}
.photo-results{display:flex;justify-content:space-between;align-items:center;padding:17px 0;font-size:13px;color:#526b7d}
.photo-results p{margin:0}.photo-results button{text-decoration:underline;font-size:13px;padding:8px 0}
.photo-grid{columns:3;column-gap:20px}
.photo-card{display:block;position:relative;width:100%;padding:0;margin:0 0 20px;border:0;border-radius:12px;overflow:hidden;break-inside:avoid;background:#e3ebef;color:#174e73;text-align:left;cursor:zoom-in}
.photo-card img{display:block;width:100%;height:auto;min-height:80px;transition:transform .35s ease}
.photo-card:hover img{transform:scale(1.025)}
.photo-card .photo-card-label{display:block;padding:13px 16px;background:white;font-size:13px;line-height:1.5}
.photo-card:focus-visible,.photo-years button:focus-visible,.photo-dialog button:focus-visible{outline:3px solid #bd7b00;outline-offset:3px}
.photo-more{text-align:center;padding:35px 0}.photo-more button{border:1px solid #174e73;border-radius:30px;padding:14px 26px;background:transparent;color:#174e73;font:inherit;cursor:pointer}
.photo-more button:hover{background:#174e73;color:#fff}.photo-more p{color:#526b7d;font-size:13px}
.photo-top{display:block;width:fit-content;margin:0 auto;color:#174e73;font-size:14px}
.gallery-archive [hidden]{display:none!important}
.photo-dialog{width:min(1200px,95vw);max-width:95vw;max-height:95dvh;padding:20px 24px;border:0;border-radius:14px;background:#102d43;color:white;box-shadow:0 30px 100px #0005}
.photo-dialog::backdrop{background:#071a2be8}
.photo-dialog-bar{display:flex;justify-content:space-between;align-items:center;font-size:13px;min-height:35px}
.photo-dialog button{background:transparent;color:white;border:0;font:inherit;cursor:pointer;padding:8px}
.photo-stage{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:12px;min-height:200px}
.photo-stage img{display:block;max-width:100%;max-height:72dvh;margin:auto;object-fit:contain}
.photo-stage button{font-size:42px}
.photo-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px;padding:10px 52px 0}
.photo-caption p{margin:0;line-height:1.5}.photo-caption a{color:white;white-space:nowrap}
body:has(.photo-dialog[open]){overflow:hidden}
@media(min-width:1600px){.photo-grid{columns:4}}
@media(max-width:1050px){.photo-tools{align-items:start;flex-direction:column;gap:16px}.photo-search{width:100%;max-width:420px}.photo-grid{columns:2}}
@media(max-width:600px){.photo-archive{padding:30px 20px 45px}.photo-heading{padding-bottom:30px}.photo-intro{font-size:17px}.photo-tools{padding:18px 0}.photo-years{gap:3px}.photo-years button{padding:9px 12px;font-size:14px}.photo-grid{columns:1}.photo-card{margin-bottom:16px}.photo-dialog{padding:12px;width:96vw;max-width:96vw}.photo-stage{grid-template-columns:25px minmax(0,1fr) 25px;gap:3px}.photo-caption{padding:12px 0 0;align-items:start;flex-direction:column;gap:8px}.photo-stage img{max-height:65dvh}}
@media(prefers-reduced-motion:reduce){.photo-card img{transition:none}}
/* Subpages use ordinary text navigation, consistent with the Events landing page. */
.photo-view-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 36px;color:#7c91a0}
.photo-view-tabs a,.photo-view-tabs a[aria-current]{display:inline;padding:0;border:0;border-radius:0;background:none;color:#174e73;font-size:15px;text-decoration:underline;text-underline-offset:5px}
.photo-view-tabs a:hover{box-shadow:none;text-decoration-thickness:2px}
.photo-years button{border-radius:0;border-bottom:2px solid transparent}
.photo-years button[aria-pressed=true],.photo-years button[aria-pressed=true]:hover{background:none;color:#174e73;border-bottom-color:#174e73}
.photo-years button:hover{background:none;color:#174e73;border-bottom-color:#b3c8d5}
.photo-more button{border-radius:4px}
