.bs-hero .bs-gallery-stack{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:540px;justify-self:end}
.bs-gallery-summary{margin:0 0 20px;color:var(--by5-text-dark);font-family:Inter,Arial,sans-serif;font-size:24px;font-weight:400;font-style:normal;line-height:1.65;letter-spacing:normal;text-align:left}




@media(max-width:720px){.bs-hero .bs-gallery-stack{order:0;align-self:center}.bs-gallery-summary{font-size:24px}}

/* Align the sentence with the left content edge at the user's blue mark.
   The hidden spacer retains its previous space above the unchanged gallery. */
@media(min-width:721px){
 .bs-hero{position:relative}
 .bs-gallery-summary{position:absolute;left:40px;top:76px;width:calc((100% - 80px - clamp(24px,4vw,64px)) * .575);margin:0;transform:none}
 .bs-gallery-stack::before{content:"";display:block;height:66px;flex-shrink:0;margin:0 0 20px}
}
@media(min-width:721px) and (max-width:1050px){
 .bs-gallery-summary{left:24px;top:68px;width:calc((100% - 48px - 28px) * .575)}
}

/* Start the photo stream at the header edge. Keep the hidden spacer below
   the gallery to preserve the hero row height and left copy position. */
@media(min-width:721px){
 .bs-hero .bs-gallery-stack{display:flex;flex-direction:column}
 .bs-gallery-stack::before{order:1}
 .bs-hero .bs-gallery{order:0;flex-shrink:0;top:-36px}
}
@media(min-width:721px) and (max-width:1050px){.bs-hero .bs-gallery{top:-28px}}

/* Extend the visible photo stream down to the blue mark without moving
   its top edge, resizing its photos, or shifting the left copy. */
@media(min-width:721px){.bs-hero .bs-gallery{height:1040px;margin-bottom:-480px}}
@media(min-width:721px) and (max-width:1050px){.bs-hero .bs-gallery{height:980px}}

/* The shared ink footer follows the page content without an extra spacer. */
.bs-end{margin-top:0}

/* Continue the slideshow behind the opaque Free Quotes image. */
@media(min-width:721px){
 .bs-hero{isolation:isolate;z-index:0}
 .bs-free-quotes-image-section{position:relative;z-index:1}
}





/* By5 mark on the Free Quotes photograph, without a word label. */
.bs-free-quotes-image-section .bs-free-quotes-logo{position:absolute;right:24px;bottom:24px;z-index:2;display:block;width:64px;height:64px;max-width:none;object-fit:contain;pointer-events:none}
@media(max-width:720px){.bs-free-quotes-image-section .bs-free-quotes-logo{right:16px;bottom:16px;width:48px;height:48px}}
