/* Force HubSpot’s rewritten iframe to behave responsively */
.yumpu-embed-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow: hidden !important;

  /* Pick ONE of these approaches (see below) */
  height: 80vh !important;        /* simple + robust */
}

.yumpu-embed-wrapper > iframe {
  width: 100%;
  height: 650px !important; /* editor-friendly */
}

.yumpu-embed-wrapper > iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;

  /* Neutralise HubSpot’s injected inline styling */
  margin: 0 !important;
  display: block !important;
}

@media only screen and (max-width: 719px) {
  .yumpu-embed-wrapper > iframe {
    max-height: 80vh;
    max-width: 90vw;
}