/* v2.6 — restrained frame scale, clean mobile joins and slimmer ribbons. */
/* The ribbon SVG retains its intrinsic 1800x310 viewBox: scale the whole drawing
   vertically, not its individual text/path geometry. */
.umang-v24-ribbons{height:260px!important;bottom:-94px!important;overflow:visible!important}
.umang-v24-ribbons svg{width:100%!important;height:100%!important;overflow:visible!important}
.umang-v24-edge{stroke-width:83!important}
.umang-v24-fill{stroke-width:76!important}
.umang-v24-type{font-size:39px!important}
/* Make room for the lower contour, while still crossing into section two. */
.umang-story{padding-top:clamp(45px,5vw,100px)}
/* At large desktop widths, contain the illustration's apparent top height.
   Maintain its aspect ratio and use the side rails to finish the outer edges. */
@media(min-width:1700px){
 .umang-hero-v20__frame img{width:100%!important;height:auto!important;object-fit:contain!important;object-position:center top!important}
 .umang-hero-v20__frame{overflow:hidden!important}
 .umang-hero-v20__frame img{max-height:none!important}
 .umang-v24-ribbons{height:250px!important;bottom:-100px!important}
}
@media(max-width:700px){
 /* Keep the portrait ornament's complete lower points visible; put side rails
    BEHIND the frame rather than painting over its star and blue-glass tips. */
 .umang-hero-v20__frame{z-index:4!important;overflow:visible!important}
 .umang-hero-v20__frame img{display:block!important;position:absolute!important;top:0!important;left:0!important;width:100%!important;height:auto!important;max-width:none!important;min-width:0!important;object-fit:contain!important;transform:none!important}
 .umang-v25-rail{z-index:3!important;top:0!important;bottom:0!important;background-position:center top!important}
 .umang-v25-rail--left{left:0!important}
 .umang-v25-rail--right{right:0!important}
 .umang-v24-ribbons{height:175px!important;bottom:8px!important;overflow:hidden!important}
 .umang-v24-ribbons svg{width:100%!important;height:100%!important;overflow:visible!important}
 .umang-v24-edge{stroke-width:86!important}
 .umang-v24-fill{stroke-width:79!important}
 .umang-v24-type{font-size:40px!important}
}
@media(prefers-reduced-motion:reduce){.umang-v24-ribbons animate{display:none!important}}
