/* Photos fit the content width; there is no horizontal gallery or page rail. */
.site-refined .gallery-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:min(1160px,calc(100% - 100px));max-width:100%;margin-inline:auto;padding:0;overflow:visible;scroll-snap-type:none}
.site-refined .gallery-item{width:100%;min-width:0;height:auto;aspect-ratio:1.08;flex:none;scroll-snap-align:none}
.site-refined .gallery-item>img{display:block;width:100%;height:100%;object-fit:cover}
.site-refined .gallery-item>span{min-width:0;gap:14px}
.site-refined .gallery-item>span>b{flex-shrink:0}
.site-refined .connections-heading>div{min-width:0}
.site-refined :is(.about-grid,.podcast-grid,.talks-grid,.mentorship-grid,.film-grid,.ambassador-layout)>*{min-width:0}
.site-refined .podcast-art-photo>img{object-position:65% 35%}
.site-refined #credits-dialog a{overflow-wrap:anywhere}

@media(max-width:1100px){.site-refined .gallery-track{width:calc(100% - 70px)}}
@media(max-width:850px){
 .site-refined .gallery-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .site-refined .gallery-item:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 18px)/2);justify-self:center}
}
@media(max-width:600px){
 .site-refined .gallery-track{grid-template-columns:minmax(0,1fr);gap:20px;width:calc(100% - 40px)}
 .site-refined .gallery-item,.site-refined .gallery-item:last-child:nth-child(odd){grid-column:auto;width:100%;aspect-ratio:4/5;justify-self:stretch}
 .site-refined .gallery-item:first-child{aspect-ratio:1}
 .site-refined .gallery-item>span{left:19px;right:19px;bottom:20px;font-size:12px;line-height:1.6}
 .site-refined .connections-heading>div{display:block;margin-top:23px}
 .site-refined .connections-heading>div>p{max-width:none}
 .site-refined .connections h2{font-size:clamp(42px,12vw,68px);letter-spacing:-2px}
 .site-refined .connections h2>span{font-size:23px;line-height:1.35;letter-spacing:-.7px}
 .site-refined .hero-intro{max-width:100%}
}
