/* Only loaded by the selected reference variant. */
.reference .reference-hero{aspect-ratio:8/3;min-height:0;background:var(--cream)}
.reference .reference-hero>img{object-fit:contain;object-position:center}
.reference .detail-photos:has(a:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr));position:static}
@media(max-width:700px){
 .reference .reference-hero{display:block;aspect-ratio:auto;min-height:0}
 .reference .reference-hero>img{position:static;height:auto;width:100%;object-fit:contain}
 .reference .reference-hero .hero-panel{width:91%;margin:20px auto 30px}
}
