/* Project collections inherit the portfolio's type, theme and spacing tokens. */
.project-collection [hidden]{display:none!important}.collection-controls,.gallery-more-row,.social-more-row{display:none}.js .collection-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px;border-bottom:1px solid var(--line)}.collection-tabs{display:flex;gap:28px}.collection-tabs button{font-size:18px;min-height:56px;padding:0;border-bottom:2px solid transparent}.collection-tabs button[aria-selected=true]{border-color:var(--ink)}.collection-filters{display:flex;gap:20px}.collection-filters button{font-size:13px;min-height:48px;padding:0}.collection-filters button[aria-pressed=true]{text-decoration:underline;text-underline-offset:5px}.js .gallery-more-row,.js .social-more-row{display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 0}.gallery-progress,.social-progress{font-size:12px;color:var(--muted)}.social-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 28px;color:var(--muted);font-size:14px}.social-accounts{display:flex;flex-wrap:wrap;gap:8px 18px}.social-accounts a{text-decoration:underline}.social-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;align-items:start}.social-post{min-width:0;border:1px solid var(--line);background:var(--paper);overflow:hidden}.social-header{display:flex;align-items:center;gap:10px;padding:14px;min-height:72px}.social-header>img{width:36px;height:36px;object-fit:cover;border-radius:50%;flex:none}.social-header>div{min-width:0;display:flex;flex-direction:column;gap:1px}.social-header a{font-size:13px;font-weight:600;overflow-wrap:anywhere}.social-header time{font-size:11px;color:var(--muted)}.social-kind{font-size:11px;margin-left:auto;color:var(--muted);flex:none}.social-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-inline:contain;background:var(--surface)}.social-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;display:grid;grid-template-rows:minmax(0,1fr);place-items:center;aspect-ratio:4/5;min-height:0;overflow:hidden}.social-post[data-media-type="video"] .social-slide{aspect-ratio:9/16}.social-slide img,.social-slide video{min-height:0;height:100%;width:100%;max-height:100%;object-fit:contain}.social-slide video{background:var(--surface)}.social-carousel-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 12px;border-top:1px solid var(--line);font-size:12px}.social-carousel-nav button{min-height:44px;padding:4px}.social-counter{font-variant-numeric:tabular-nums}.social-caption{font-size:13px;line-height:1.6;padding:14px;overflow-wrap:anywhere;white-space:pre-line}.social-caption summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;white-space:normal}.social-caption[open] p{margin-top:8px}.social-source{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px;border-top:1px solid var(--line);font-size:12px}.social-source:hover{text-decoration:underline}.social-source>span:last-child{color:var(--muted)}.social-audio-note{font-size:12px;color:var(--muted);padding:12px 14px}.collection-empty{padding:32px 0;color:var(--muted)}.project-collection .film-section:first-child{margin-top:0}.project-collection .photo-gallery[hidden]~.film-section{margin-top:0}.film-source{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:8px;font-size:12px;color:var(--muted)}.film-source a{text-decoration:underline}.source-quality-note{font-size:12px;color:var(--muted)}
@media(max-width:1100px){.social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.social-intro{flex-direction:column;gap:12px}}
@media(max-width:767px){.js .collection-controls{align-items:flex-start;flex-direction:column;gap:4px;margin-bottom:24px}.collection-tabs{gap:24px}.collection-tabs button{font-size:17px;min-height:52px}.collection-filters{gap:24px}.social-grid{grid-template-columns:1fr;gap:28px}.social-header{padding:14px 16px}.social-header a{font-size:14px}.social-header time,.social-kind{font-size:12px}.social-intro{font-size:13px}.social-caption{font-size:14px}.social-source{min-height:52px}.project-collection .film-section{margin-top:40px}}

.gallery-section-title{column-span:all;margin:48px 0 28px;font-size:clamp(28px,3vw,40px)}
#collection-gallery>.film-section:first-child{margin-top:36px}
