/* Shared by the React app and prerendered article HTML. CMS-authored inline
   grids must not keep image captions in narrow columns on a phone. */
.blog-content figure {
  min-width: 0;
  max-width: 100%;
  margin-inline: 0;
}

.blog-content figcaption {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .blog-content [style*="grid-template-columns"],
  .blog-content .wp-block-columns {
    grid-template-columns: minmax(0, 1fr) !important;
    flex-direction: column !important;
  }

  .blog-content .wp-block-column {
    flex-basis: auto !important;
    width: 100% !important;
    min-width: 0;
  }
}
