/* Opt-in child photo edge. Page themes own content and focal positions. */
.hx-page-hero {
  position: relative;
  height: var(--hx-page-image-height, 320px);
  overflow: hidden;
  background: var(--hx-theme-paper, #f7f7f7);
}
.hx-page-hero picture, .hx-page-hero img { display: block; width: 100%; height: 100%; }
.hx-page-hero img { object-fit: cover; object-position: var(--hx-page-image-position, 50% 50%); }
.hx-page-hero::after {
  content: ""; position: absolute; inset: auto 0 0;
  height: var(--hx-page-fade-height, 96px); pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--hx-theme-paper, #f7f7f7) 45%, transparent) 42%, color-mix(in srgb, var(--hx-theme-paper, #f7f7f7) 87%, transparent) 76%, var(--hx-theme-paper, #f7f7f7));
}
.hx-page-hero[hidden] { display: none; }
@media (max-width: 760px) { .hx-page-hero { --hx-page-image-height: 240px; --hx-page-fade-height: 64px; } }
@media (orientation: landscape) and (max-height: 600px) { .hx-page-hero { --hx-page-image-height: 160px; --hx-page-fade-height: 40px; } }
