/* Home only: keep outfit captions outside the approved full-body photo windows. */
#navy-style-coach .ns-view[data-page="home"] .ns-look-gallery{container:home-outfit-gallery/inline-size}
@media (max-width:1180px){
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look{
  display:flex;flex-direction:column;aspect-ratio:auto;min-height:0;background:#fff;isolation:isolate;
 }
 /* This spacer retains the exact 2:3 crop independently of the caption height. */
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look::before{
  content:"";display:block;width:100%;aspect-ratio:2/3;flex:0 0 auto;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>img.ns-home-fullbody{
  height:auto;top:0;transform:none;z-index:0;
 }
 /* 1.3% of the photo window equals 1.26459144% of its 102.8%-scaled image. */
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look[data-go="look-meeting"]>img.ns-home-fullbody{
  transform:translateY(-1.264591439688716%);
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>.ns-photo-caption{
  position:relative;inset:auto;z-index:1;display:block;flex:0 0 auto;
  padding:14px 16px 16px;background:#fff;color:#0b1f3a;font-size:16px;line-height:1.45;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>.ns-photo-caption>strong{
  font-size:17px;line-height:1.35;font-weight:700;margin-bottom:6px;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>.ns-photo-caption>span{
  display:block;color:#526174;font-size:16px;line-height:1.45;
 }
}
/* Text enlargement can narrow the gallery even on a wide desktop viewport. */
@container home-outfit-gallery (max-width:1000px){
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look{
  display:flex;flex-direction:column;aspect-ratio:auto;min-height:0;background:#fff;isolation:isolate;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look::before{
  content:"";display:block;width:100%;aspect-ratio:2/3;flex:0 0 auto;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>img.ns-home-fullbody{
  height:auto;top:0;transform:none;z-index:0;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look[data-go="look-meeting"]>img.ns-home-fullbody{
  transform:translateY(-1.264591439688716%);
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>.ns-photo-caption{
  position:relative;inset:auto;z-index:1;display:block;flex:0 0 auto;
  padding:14px 16px 16px;background:#fff;color:#0b1f3a;font-size:16px;line-height:1.45;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>.ns-photo-caption>strong{
  font-size:17px;line-height:1.35;font-weight:700;margin-bottom:6px;
 }
 #navy-style-coach .ns-view[data-page="home"] .ns-look-gallery>a.ns-photo-look>.ns-photo-caption>span{
  display:block;color:#526174;font-size:16px;line-height:1.45;
 }
}
