.wr-blog-video {
  margin: 1.5rem 0;
  max-width: 100%;
}
.wr-blog-video--16x9 {
  aspect-ratio: 16 / 9;
}
.wr-blog-video--9x16 {
  aspect-ratio: 9 / 16;
  max-width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
}
.wr-blog-video__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  contain: layout style;
}
.wr-blog-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.wr-blog-video__hosted {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  background: #000;
}
.wr-blog-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.wr-blog-video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wr-blog-video__play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 0 3px #fff;
}
.wr-blog-video__play-icon::after {
  content: '';
  position: absolute;
  left: 26px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.wr-blog-video__load-embed {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.wr-blog-video-transcript {
  margin: 0.75rem 0 1.5rem;
  font-size: 0.95rem;
}
.wr-blog-video-transcript__body {
  margin-top: 0.5rem;
  line-height: 1.55;
  color: #334155;
}

/* Public article body — constrain TinyMCE media to the content column (not nav/cards). */
.home-content .home-wrapper .row > .col-md-9:has(.blog-body) {
  min-width: 0;
  max-width: 100%;
}

.post-content {
  min-width: 0;
  max-width: 100%;
}

.post-content .blog-body {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.post-content .blog-body img {
  max-width: 100% !important;
  height: auto !important;
}

.post-content .blog-body .wr-blog-video__poster img {
  width: 100%;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.post-content .blog-body video:not(.wr-blog-video__hosted) {
  max-width: 100%;
  height: auto;
}

.post-content .blog-body iframe,
.post-content .blog-body embed,
.post-content .blog-body object {
  max-width: 100%;
}

.post-content .blog-body figure,
.post-content .blog-body picture {
  max-width: 100%;
}

.post-content .blog-body figure img {
  display: block;
}

.post-content .blog-body table {
  max-width: 100%;
}

.post-content .blog-body td img,
.post-content .blog-body th img {
  max-width: 100% !important;
  height: auto !important;
}
