/* Froala video → match .iframe-box.pic.after */
.rich-box .fr-video,
.fr-view .fr-video {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0 auto 6rem;
  border-radius: 20px;
  max-width: 850px;
}

.rich-box .fr-video::after,
.fr-view .fr-video::after {
  content: '';
  display: block;
  padding-top: 60.7%;
}

.rich-box .fr-video video,
.fr-view .fr-video video,
.pic.after video,
.pic.after iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  max-width: none;
}

@media (max-width: 767px) {
  .rich-box .fr-video,
  .fr-view .fr-video {
    margin-bottom: 2rem;
  }
}
