/*ha-fluid*//* Alternative only: intrinsic image proportions and a staggered masonry rhythm. */
.staggered-study .collection-heading{flex-wrap:wrap}
.staggered-study .study-compare{width:100%;font-size:calc(10 * var(--u));margin-top:0;opacity:.7}
.staggered-study .visual-collection{display:block;columns:3;column-gap:calc(10 * var(--u));margin:calc(28 * var(--u)) calc(24 * var(--u)) calc(48 * var(--u))}
.staggered-study .collection-card{break-inside:avoid;margin:0 0 calc(10 * var(--u));overflow:hidden;display:block}
.staggered-study .collection-photo img,.staggered-study .collection-card:nth-child(2) img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.staggered-study .collection-caption{left:calc(20 * var(--u));right:calc(20 * var(--u));bottom:calc(50 * var(--u))}
.staggered-study .collection-caption h2{font-size:clamp(calc(23 * var(--u)),2vw,calc(32 * var(--u)))}
.staggered-study .collection-card>p{left:calc(20 * var(--u));right:calc(20 * var(--u));bottom:calc(20 * var(--u));line-height:1.45}

@media(max-width:1000px){.staggered-study .visual-collection{columns:2;column-gap:calc(10 * var(--u))}.staggered-study .collection-card{margin-bottom:calc(10 * var(--u))}}
@media(max-width:600px){.staggered-study .visual-collection{columns:1;margin:calc(24 * var(--u)) calc(16 * var(--u)) calc(32 * var(--u))}.staggered-study .collection-card{margin-bottom:calc(10 * var(--u))}}

@media(min-width:1400px){.staggered-study .visual-collection{columns:4}}

/* Keep priority across the first row while retaining intrinsic-image masonry. */
.staggered-study .visual-collection{display:grid;columns:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(10 * var(--u));align-items:start}
.staggered-study .visual-collection.masonry-ready{grid-auto-rows:1px;row-gap:0}
.staggered-study .collection-card{margin:0!important}
@media(min-width:1400px){.staggered-study .visual-collection{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.staggered-study .visual-collection{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.staggered-study .visual-collection{grid-template-columns:1fr}}
