
.gallery-page{font-family:'Public Sans',sans-serif;background:#25284c}
.gallery-panel{background:#25284c;border:1px solid #323779;border-radius:24px;padding:32px 24px;margin:28px 0}
.gallery-panel h1{font-family:'Montserrat',sans-serif;font-size:24px;line-height:1.3;font-weight:600;margin:0 0 28px}
.gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 16px}
.gallery-grid figure{min-width:0;margin:0}
:is(.gallery-image-link,.gallery-image-frame){display:flex;align-items:center;justify-content:center;background:#25284c;aspect-ratio:4/3;border-radius:4px;overflow:hidden}
:is(.gallery-image-link,.gallery-image-frame) img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-grid figcaption{font-size:14px;line-height:1.4;color:#e3f4f8;margin:8px 0 0}
.gallery-viewer{max-width:95vw;max-height:95dvh;width:fit-content;border:1px solid #323779;border-radius:12px;background:#25284c;color:#e3f4f8;padding:16px}
.gallery-viewer::backdrop{background:rgba(37,40,76,.96)}
.gallery-viewer figure{margin:12px 0 0}
.gallery-viewer img{display:block;max-width:85vw;max-height:74dvh;width:auto;height:auto;object-fit:contain;margin:auto}
.gallery-viewer figcaption{max-width:85vw;font:16px/1.5 'Public Sans',sans-serif;color:#e3f4f8;margin-top:12px}

.gallery-page footer p{font-size:14px;margin:16px 0 0}
@media(max-width:1000px){.gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.gallery-panel{padding:24px 16px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.gallery-viewer{padding:12px}}

.gallery-grid figcaption:empty{display:none}
@media(min-width:601px) and (max-width:800px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.gallery-viewer{cursor:zoom-out}

.image-collection{margin:20px 0}.image-collection>summary{color:#39c2d2;cursor:pointer;text-decoration:underline;text-underline-offset:5px;font-size:inherit;font-weight:400}.image-collection[open]>summary{margin-bottom:20px}.image-collection .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.image-collection .gallery-grid figure{margin:0;min-width:0}.image-collection :is(.gallery-image-link,.gallery-image-frame) img{width:100%;height:100%;max-height:none;object-fit:contain;margin:0}.image-collection-item>.image-collection{margin:0}.gallery-viewer img{max-width:85vw;max-height:74dvh}.gallery-viewer figcaption{font-size:16px}@media(max-width:600px){.image-collection .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}



/* Match the white list bullets while retaining native disclosure behaviour. */
.image-collection>summary{position:relative;display:block;list-style:none;padding-left:30px}
.image-collection>summary::-webkit-details-marker{display:none}
.image-collection>summary::before,.image-collection[open]>summary::before{content:"•";position:absolute;left:10px;color:#fff;text-decoration:none}
.image-collection-item{list-style:none}
.image-collection-item>.image-collection>summary{padding-left:0}
.image-collection-item>.image-collection>summary::before,.image-collection-item>.image-collection[open]>summary::before{left:-1em}

/* Music various uses the same native disc and body colour as its sibling entries. */
#archive li.image-collection-item{list-style:disc outside;color:var(--ink)}
#archive li.image-collection-item>.image-collection>summary::before{content:none}

/* Use the same native disc as the adjacent body-text lists. */
#other-talk-images>summary{display:list-item;list-style:disc outside;margin-left:30px;padding-left:0}
#other-talk-images>summary::before{content:none}
#other-talk-images>summary::marker{color:var(--ink);font-size:1em}

/* Photograph labels remain visible, readable and consistent with the band card. */
#other-talk-images>summary{font-family:'Montserrat',sans-serif;font-size:var(--section-size);line-height:1.4;font-weight:600;color:#fff;margin-bottom:12px}
#other-talk-images[open]>summary{margin-bottom:22px}
.image-collection .gallery-grid figcaption{margin:10px 0 0;font-size:var(--copy-size);line-height:var(--copy-line);font-weight:400;overflow-wrap:normal}
#music-various .pop-tarts-website{display:block;margin:8px 0 0;font-size:var(--copy-size);line-height:var(--copy-line)}

/* A visual invitation to the speaking archive; native details remains keyboard accessible. */
:is(#other-talk-images,#music-various)>summary{display:flex;align-items:center;gap:22px;margin-left:0;padding:20px;border:1px solid #676aa0;border-radius:12px;background:#1b1e40;text-decoration:none;list-style:none;box-sizing:border-box;color:#fff}
:is(#other-talk-images,#music-various)>summary::before,:is(#other-talk-images,#music-various)>summary::marker{content:none}
:is(#other-talk-images,#music-various)>summary:hover{background:#20254a;border-color:#39c2d2}
:is(#other-talk-images,#music-various)>summary:focus-visible{outline:3px solid #39c2d2;outline-offset:5px}
:is(#other-talk-images,#music-various) .talks-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:0 0 36%;height:112px;overflow:hidden;border-radius:5px}
:is(#other-talk-images,#music-various) .talks-preview img{display:block;width:100%;height:112px;object-fit:cover;margin:0}
:is(#other-talk-images,#music-various) .talks-invitation{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px}
:is(#other-talk-images,#music-various) .talks-invitation strong{font-size:22px;line-height:1.25}
:is(#other-talk-images,#music-various) .talks-invitation>span{font-size:16px;line-height:1.4;font-weight:400}
:is(#other-talk-images,#music-various) .talks-disclosure-label{color:#8ce2ec;padding-top:5px}
:is(#other-talk-images,#music-various) .talks-disclosure-symbol{position:relative;flex:0 0 28px;width:28px;height:28px;border:1px solid #8ce2ec;border-radius:50%;color:#8ce2ec}
:is(#other-talk-images,#music-various) .talks-disclosure-symbol::before,:is(#other-talk-images,#music-various) .talks-disclosure-symbol::after{content:"";position:absolute;background:currentColor;left:7px;right:7px;top:13px;height:2px}
:is(#other-talk-images,#music-various):not([open]) .talks-disclosure-symbol::after{transform:rotate(90deg)}
:is(#other-talk-images,#music-various) .when-open,:is(#other-talk-images,#music-various)[open] .when-closed{display:none}
:is(#other-talk-images,#music-various)[open] .when-open{display:inline}
@media(max-width:600px){:is(#other-talk-images,#music-various)>summary{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:16px;padding:16px}:is(#other-talk-images,#music-various) .talks-preview{grid-column:1/-1;width:100%;height:102px}:is(#other-talk-images,#music-various) .talks-preview img{height:102px}:is(#other-talk-images,#music-various) .talks-invitation strong{font-size:21px}}
