/* 1.6.42: 2025 cover only. No global heading, navigation or gallery changes. */
body .edition-detail-hero.has-featured-image {
  background:
    linear-gradient(90deg, rgba(0, 59, 93, .92) 0%, rgba(0, 77, 118, .82) 52%, rgba(0, 77, 118, .62) 100%),
    var(--ugpls-edition-hero-image) center var(--ugpls-edition-mobile-y, 50%) / cover no-repeat !important;
}
body .edition-detail-hero.has-featured-image .edition-detail-hero-inner {
  position: relative;
  z-index: 1;
}

/* Up to 980px the previous height, title positions and overlay remain unchanged.
   The default mobile position is the same 50% as the previous center/center. */
@media (min-width: 981px) {
  body .edition-detail-hero.has-featured-image {
    position: relative;
    isolation: isolate;
    background: var(--blue-950) !important;
  }
  body .edition-detail-hero.has-featured-image::before {
    content: "";
    position: absolute;
    /* Keep the upper photo out of the fixed navigation area. The scoped script
       measures the header; 83px is this theme's desktop fallback without JS. */
    inset: var(--ugpls-edition-header-height, 83px) 0 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg,
        rgba(0, 59, 93, var(--ugpls-edition-overlay-left, .86)) 0%,
        rgba(0, 77, 118, var(--ugpls-edition-overlay-middle, .70)) 52%,
        rgba(0, 77, 118, var(--ugpls-edition-overlay-right, .46)) 100%),
      var(--ugpls-edition-hero-image) center var(--ugpls-edition-desktop-y, 15%) / cover no-repeat;
  }
  body .edition-detail-hero.has-featured-image .edition-detail-hero-inner {
    padding-top: calc(178px + var(--ugpls-edition-desktop-space, 60px));
    padding-bottom: calc(105px + var(--ugpls-edition-desktop-space, 60px));
  }
}
