.profile-community-link{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px}
#upcoming{scroll-margin-top:24px}
.profile-fliers{margin:0 0 36px;min-width:0}
.profile-fliers[hidden],.profile-fliers [hidden]{display:none!important}
.profile-flier-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.profile-flier-heading h2{font-size:clamp(22px,4.8vw,32px);margin:0;line-height:1.2}
.profile-flier-controls{display:flex;gap:8px;flex:none}
.profile-flier-controls button{width:44px;height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--cyan);font:700 20px Lato,Arial,sans-serif;cursor:pointer}
.profile-flier-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 12px;max-width:100%}
.profile-flier{flex:0 0 calc((100% - 44px)/3);min-width:0;scroll-snap-align:start;overflow:hidden;border-radius:12px;background:var(--panel);margin:0}
.profile-flier-image{display:block;background:#08121c}
.profile-flier-image img{display:block;width:100%;height:380px;object-fit:contain}
.profile-flier-caption{padding:16px 18px;overflow-wrap:anywhere}
.profile-flier-caption h3{font-size:19px;line-height:1.25;margin:7px 0}
.profile-flier-caption p{font-size:13px;line-height:1.5;color:var(--muted);margin:0}
.profile-flier-dots{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;margin-top:6px}
.profile-flier-dots button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:transparent;cursor:pointer}
.profile-flier-dots button::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--muted);opacity:.5}
.profile-flier-dots button[aria-current="true"]::before{background:var(--cyan);opacity:1}
.profile-fliers a:focus-visible,.profile-fliers button:focus-visible,.profile-flier-track:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
@media(max-width:980px){.profile-flier{flex-basis:calc((100% - 22px)/2)}}
@media(max-width:640px){.profile-flier{flex-basis:85%;max-width:340px}.profile-flier-image img{height:340px}.profile-flier-heading{align-items:center;gap:12px}.profile-fliers{margin-bottom:28px}.profile-community-link{gap:10px 20px}}
@media(prefers-reduced-motion:no-preference){.profile-flier-track{scroll-behavior:smooth}}

/* No photo: keep the simple heading, or use its photo column for fliers. */
.profile-no-photo-hero{display:block}
.profile-no-photo-hero.has-profile-fliers{display:grid;grid-template-columns:minmax(270px,390px) minmax(0,1fr);gap:60px;align-items:start}
.profile-without-photo .profile-title-row{flex-direction:column;align-items:flex-start;gap:16px}
.profile-without-photo .profile-title-row h1{flex:none;width:100%;margin:0}
.profile-without-photo .profile-claim-link{align-self:flex-start}
.profile-flier-portrait{min-width:0}
.profile-flier-portrait[hidden]{display:none!important}
.profile-flier-portrait .profile-fliers{margin:0}
.profile-flier-portrait .profile-flier-heading{justify-content:flex-end;margin-bottom:8px}
.profile-flier-portrait .profile-flier-heading h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.profile-flier-portrait .profile-flier{flex-basis:100%;max-width:none}
.profile-flier-portrait .profile-flier-image img{height:360px}
@media(max-width:900px){.profile-no-photo-hero.has-profile-fliers{gap:32px}}
@media(max-width:640px){
 .profile-no-photo-hero.has-profile-fliers{grid-template-columns:1fr;gap:28px}
 .profile-no-photo-hero.has-profile-fliers>.profile-flier-portrait{order:2}
 .profile-flier-portrait{width:100%;max-width:390px;margin:auto}
 .profile-flier-portrait .profile-flier-image img{height:280px}
 .profile-flier-portrait .profile-flier-caption{padding:12px 14px}
}

/* Profile carousels show just the artwork; details remain on the flier page. */
.profile-fliers{position:relative;--profile-flier-image-height:380px}
.profile-fliers .profile-flier-heading{height:0;margin:0;padding:0}
.profile-fliers .profile-flier-heading h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.profile-fliers .profile-flier-caption,.profile-fliers .profile-flier-dots{display:none}
.profile-fliers .profile-flier-controls{position:absolute;z-index:2;left:0;right:0;top:calc(var(--profile-flier-image-height)/2 + 4px);transform:translateY(-50%);justify-content:space-between;padding:0 12px;pointer-events:none}
.profile-fliers .profile-flier-controls button{pointer-events:auto;background:rgba(8,18,28,.82);color:#fff;border-color:rgba(255,255,255,.55);border-radius:50%;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.profile-fliers .profile-flier-controls button:hover{background:rgba(8,18,28,.96);border-color:var(--cyan)}
.profile-fliers .profile-flier-image img{height:var(--profile-flier-image-height)}
.profile-flier-portrait .profile-fliers{--profile-flier-image-height:360px}
@media(max-width:640px){
 .profile-fliers{--profile-flier-image-height:340px}
 .profile-flier-portrait .profile-fliers{--profile-flier-image-height:280px}
 .profile-fliers .profile-flier-controls{padding:0 8px}
}
