/* Art Meetings – Beirut: generic text, meetings menu, one section per meeting (photos and videos). Everything else uses site.css. */
.am-page section[id]{scroll-margin-top:120px}
@media(min-width:901px){.am-page section[id]{scroll-margin-top:170px}}
.am-page .about .prose{display:flex;flex-direction:column;gap:16px}
.am-list{list-style:none;margin:4px 0;padding:0;width:100%;border-top:1px solid var(--line)}
.am-list li{display:grid;grid-template-columns:9em 1fr;gap:14px;padding:12px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 35%,transparent)}
.am-list .y{font-variant-numeric:tabular-nums;color:var(--muted);font-size:15px;padding-top:2px}
@media(max-width:560px){.am-list li{grid-template-columns:1fr;gap:2px}}
.am-menu{border-bottom:1px solid var(--line);background:var(--bg)}
.am-menu .wrap{display:flex;flex-wrap:wrap}
.am-menu a{display:flex;flex-direction:column;gap:2px;padding:12px 22px;border-left:1px solid var(--line);text-decoration:none;min-width:0}
.am-menu a:last-child{border-right:1px solid var(--line)}
.am-menu a:hover{background:var(--bar)}
.am-menu b{font-weight:500;font-size:16px}
.am-menu small{color:var(--muted);font-size:13.5px}
@media(min-width:901px){.am-menu{position:sticky;top:calc(env(safe-area-inset-top,0px) + 101px);z-index:5}}
@media(max-width:700px){.am-menu .wrap{display:grid;grid-template-columns:1fr 1fr}.am-menu a{padding:10px 14px;border-bottom:1px solid var(--line)}.am-menu a:nth-child(2n){border-right:1px solid var(--line)}}
.am-meeting{border-bottom:1px solid var(--line)}
.am-meeting>.wrap{padding-block:clamp(40px,6vw,72px);display:flex;flex-direction:column;gap:24px}
.am-head{display:flex;flex-direction:column;gap:10px}
.am-head h2{font-size:clamp(30px,3.4vw,44px);font-weight:400;margin:0}
.am-head .topic{margin:0;font-size:19px;max-width:66ch}
.am-videos{display:grid;grid-template-columns:1fr;gap:0}
.am-videos.v3{grid-template-columns:repeat(3,1fr)}
.am-vfig{margin:0;display:flex;flex-direction:column;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;background:var(--bg)}
.am-videos.v3 .am-vfig:last-child,.am-videos.v1 .am-vfig{border-right:0}
.am-video{display:block;width:100%;height:auto;max-height:75vh;background:#000}
.am-vfig figcaption{padding:9px 14px;font-size:13.5px;color:var(--muted);border-top:1px solid var(--line)}
@media(max-width:800px){.am-videos.v3{grid-template-columns:1fr}.am-videos.v3 .am-vfig{border-right:0}}
.am-videos + .gallery{border-top:0}
/* a lone last photo fills its row instead of leaving an empty grey cell */
@media(min-width:761px){
 .am-meeting .gallery.many figure:last-child:nth-child(3n+1){grid-column:1/-1;border-right:0!important}
 .am-meeting .gallery.many figure:last-child:nth-child(3n+1) .zoom{aspect-ratio:16/9}
}
@media(max-width:760px){
 .am-meeting .gallery.many figure:last-child:nth-child(2n){grid-column:1/-1;border-right:0!important}
 .am-meeting .gallery.many figure:last-child:nth-child(2n) .zoom{aspect-ratio:16/9}
}
