/* OI-12: less space above the homepage hero photo; center and frame the new image */

/* Desktop: stop vertically centering the photo in the taller copy column.
   That leftover gap was 79.9px (EN) / 130.5px (ES) from the hero top.
   align-self:start leaves only the existing hero padding-top (38.4px at 1280),
   about half of the English gap. Keep justify-self as the grid default (stretch)
   so the photo keeps the column width and stays horizontally centered in the pane. */
html body .editorial-photo {
  align-self: start !important;
}

html body .editorial-photo img {
  object-fit: cover !important;
  object-position: 50% 42% !important;
  filter: none !important;
  width: 100% !important;
  height: 100% !important;
}

/* Mobile: the photo sits under the copy. Halve the 40px gap above it.
   Equal side insets from the hero padding keep it centered in the viewport. */
@media (max-width: 960px) {
  html body .editorial-hero-copy {
    padding-bottom: 20px !important;
  }
  html body .editorial-photo {
    width: 100%;
  }
  html body .editorial-photo img {
    /* Keep the tree canopy in the 16/11 landscape crop */
    object-position: 50% 40% !important;
  }
}
