.aw-etykiety-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 16px 20px;
  overflow-x: clip;
}

/* The page class is emitted only when the current page contains a real generator shortcode. */
body.aw-etykiety-page .wp-block-post-title,
body.page-id-486 .wp-block-post-title {
  display: none !important;
}

/* Twenty Twenty-Four wraps the post title between 104px and 40px spacer blocks. Once the title
   itself is hidden that otherwise-empty group still occupies 144px, so remove that exact title
   group on the generator page. The site header is a sibling outside main and is unaffected. */
body.aw-etykiety-page main > .wp-block-group:has(> .wp-block-post-title),
body.page-id-486 main > .wp-block-group:has(> .wp-block-post-title) {
  display: none !important;
}

body.aw-etykiety-page main,
body.aw-etykiety-page .entry-content,
body.aw-etykiety-page .wp-block-post-content,
body.page-id-486 main,
body.page-id-486 .entry-content,
body.page-id-486 .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.aw-etykiety-page .wp-block-post-content > .aw-etykiety-wrap,
body.aw-etykiety-page .wp-block-post-content > .aw-etykiety-native-root,
body.page-id-486 .wp-block-post-content > .aw-etykiety-wrap,
body.page-id-486 .wp-block-post-content > .aw-etykiety-native-root {
  margin-top: 0 !important;
}

/* Native-only width reset. The Akademia header remains visible in both rendering modes. */
body.aw-etykiety-native-page {
  margin: 0;
}

body.aw-etykiety-native-page > .wp-site-blocks,
body.aw-etykiety-native-page main,
body.aw-etykiety-native-page .entry-content,
body.aw-etykiety-native-page .wp-block-post-content {
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

body.aw-etykiety-native-page .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
}

body.aw-etykiety-native-page .aw-etykiety-native-root {
  box-sizing: border-box;
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
}

@media (max-width: 600px) {
  .aw-etykiety-wrap {
    width: 100%;
    padding: 8px;
  }
}

.aw-etykiety-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 1100px;
  min-height: 1100px;
  border: 0;
  background: #f5ead2;
  transition: height .18s ease-out;
}

@media (max-width: 900px) {
  .aw-etykiety-frame {
    height: 2100px;
    min-height: 1200px;
  }
}

@supports not (overflow: clip) {
  .aw-etykiety-wrap {
    overflow-x: hidden;
  }
}
