/* Let the blog introduction size to its content, including both CTA badges.
   Preserve the existing photo composition and all other page hero layouts. */
body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 620px !important;
  max-height: none !important;
}
body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero > .page-hero__copy {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 620px !important;
  max-height: none !important;
}
@media (min-width: 1600px) {
  body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero,
  body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero > .page-hero__copy {
    min-height: 700px !important;
  }
}
@media (max-width: 900px) {
  body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero,
  body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero > .page-hero__copy {
    min-height: 560px !important;
  }
}
@media (max-width: 700px) {
  body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero {
    min-height: 0 !important;
  }
  body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero > .page-hero__copy {
    min-height: 0 !important;
    /* The mobile template positions its 310px photo at the bottom. Reserve
       that space after the naturally sized copy so it cannot cover a CTA. */
    padding-bottom: 334px !important;
  }
  body #root#root .azd-public-shell.blog-shell .blog-index > #biblioteca.page-hero > .page-hero__visual {
    height: 310px !important;
    inset: auto 0 0 !important;
  }
}
