/**
 * WordPress beágyazás: ne legyen fehér sáv, ne okozzon vízszintes görgetést a böngészőnek.
 * A 100vw „kitörés” nélkül: a 100vw gyakran 1–2px-el szélesebb a nézetablaknál → alsó görgetősáv.
 */
.m2mr-web1-wrap {
  box-sizing: border-box;
  /* Break out of theme content container to true full width. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  height: 100dvh;
  min-height: 100dvh;
  background: #0a0a0f;
  overflow: hidden;
}

.m2mr-web1-ad {
  margin: 0 16px 16px;
}

.m2mr-web1-ad--bottom {
  margin: 16px 16px 0;
}

.m2mr-web1-frame {
  display: block;
  box-sizing: border-box;
  width: 100%;
  /* Full viewport-height embed regardless of monitor resolution. */
  height: 100dvh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  background: #06080c;
}

/* Ha a téma body osztályt ad (wp_head-ből): ne legyen vízszintes overflow az egész lapon */
body.m2mr-web1-embed-page {
  overflow: hidden !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100%;
}

/* Téma-konténerek nullázása az embed oldalon, hogy ne keletkezzen külső görgetés */
body.m2mr-web1-embed-page #page,
body.m2mr-web1-embed-page .site,
body.m2mr-web1-embed-page .site-content,
body.m2mr-web1-embed-page .content-area,
body.m2mr-web1-embed-page .entry-content,
body.m2mr-web1-embed-page main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
