/* Keep blog media readable: centered by default, capped width, responsive scaling. */
.section-single-blog .content p,
.section-single-blog .content li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.section-single-blog .content img {
  display: block;
  width: auto;
  max-width: min(100%, 900px);
  height: auto;
  margin: 1.25rem auto;
}

.section-single-blog .content img.img-wide {
  width: 100%;
  max-width: 100%;
}

.section-single-blog .content img.img-narrow {
  max-width: min(100%, 640px);
}

.section-single-blog .content img.img-inline {
  display: inline;
  width: auto;
  max-width: 100%;
  margin: 0;
  vertical-align: middle;
}

.section-single-blog .content figure {
  margin: 1.25rem auto;
  text-align: center;
}

.section-single-blog .content figure img {
  margin: 0 auto;
}

.section-single-blog .content figure figcaption {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  font-style: italic;
}

.section-single-blog .content > div[style*="padding-bottom: 56.25%"] {
  width: 100%;
}

.section-single-blog .content .yt-embed {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  margin: 1rem 0;
  overflow: hidden;
}

.section-single-blog .content .yt-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  border: 0;
}

@supports not (aspect-ratio: 16 / 9) {
  .section-single-blog .content .yt-embed {
    height: 0;
    padding-bottom: 56.25%;
  }
}
