/* Match desktop subpage heroes to the height and vertical rhythm of Financing. */
@media (min-width: 981px) {
  body.page:not(.home) {
    --asta-subpage-hero-height: clamp(610px, calc(19vw + 440px), 720px);
    --asta-subpage-hero-content-height: calc(var(--asta-subpage-hero-height) - 58px);
  }

  body.page:not(.home) .wp-block-post-content > .asta-hero-video,
  body.page:not(.home) .asta-funding-hub > .asta-funding-hero {
    box-sizing: border-box;
    min-height: var(--asta-subpage-hero-height) !important;
  }

  body.page:not(.home) .asta-funding-hub > .asta-funding-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.page:not(.home) .asta-funding-hub > .asta-funding-hero > .asta-funding-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.page:not(.home) .wp-block-post-content > .asta-page-hero,
  body.page:not(.home) .wp-block-post-content > .asta-page-empty-hero,
  body.page:not(.home) .wp-block-post-content > .wp-block-cover.asta-hero-has-video {
    box-sizing: border-box;
    min-height: var(--asta-subpage-hero-content-height) !important;
  }

  body.page:not(.home) .wp-block-post-content > .asta-page-hero.wp-block-columns {
    align-items: center;
  }

  body.page:not(.home) .wp-block-post-content > .asta-page-hero:not(.wp-block-columns) {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.page-id-1306 main.asta-content > .wp-block-post-content > .ae-contact-hero,
  body.page-id-491 main.asta-content > .wp-block-post-content > .asta-page-hero.asta-realizations-hero {
    box-sizing: border-box;
    min-height: var(--asta-subpage-hero-content-height) !important;
  }
}
