/* N82: approved option 2, independent of live controls. Images retain their aspect ratios. */
@media(min-width:981px){
 body:not(.festive) .masthead{background:#03192d!important;}
 body:not(.festive) .masthead::before{
  content:"";position:absolute;inset:0;width:auto;height:auto;mask-image:none;-webkit-mask-image:none;opacity:1;pointer-events:none;z-index:0;
  background-image:linear-gradient(90deg,#03192d 0%,rgba(3,25,45,.79) 8%,rgba(3,25,45,0) 24%,rgba(3,25,45,0) 76%,rgba(3,25,45,.6) 90%,#03192d 100%),url(zago83-waves.svg),url(zago82-flag.png),url(zago82-map.png);
  background-position:center,center bottom,16% center,72% center;
  background-size:100% 100%,100% 100%,auto min(100%,134px),auto min(110%,148px);background-repeat:no-repeat;
 }
 body:not(.festive) .masthead::after{content:none;}
 body:not(.festive) .masthead .mastbrand{position:relative;z-index:1;}
 body:not(.festive) .masthead .mastbrand .brand{color:#fafbfc;}
 body:not(.festive) .masthead .mastbrand .sub{color:#e4eef5;}
 body:not(.festive) .masthead .mastdate{z-index:2;color:#f5f8ff;}
 body:not(.festive) .masthead .mastdate .small{color:#dbe8f5;}
 body:not(.festive) .masthead .mastdate #mastClock{color:#fff!important;}
 body:not(.festive) .masthead .mastactions{z-index:2;}
}
@media(min-width:1200px) and (max-width:1550px){
 body:not(.festive) .masthead::before{background-position:center,center bottom,15% center,70% center;}
}
/* Narrow desktop/tablet: smaller proportional artwork, restrained contrast behind text. */
@media(min-width:981px) and (max-width:1199px){
 body:not(.festive) .masthead::before{background-size:100% 100%,100% 100%,auto 88px,auto 97px;background-position:center,center bottom,12% center,75% center;opacity:.84;}
}
/* Portrait tablet/mobile retain the approved responsive header; normal controls can wrap rather than clip. */
@media(max-width:980px){
 body:not(.festive):not(.zago37-desktop-preview) .masthead .mastactions{flex-wrap:wrap!important;min-width:0!important;}
}
