.block--section-wrapper.alignfull > .container {
  max-width: 100%;
}

@media (min-width: 1400px) {
  .block--section-wrapper.alignwide > .container {
    max-width: var(--wp--custom--layout--container--wide, 100%);
  }
}
.block--section-wrapper > .container {
  max-width: var(--wp--custom--layout--container--default, 100%);
}

.block--section-wrapper.has-background-overlay {
  position: relative;
}

.block--section-wrapper.has-background-overlay::before {
  content: "";
  position: absolute;
  display: block;
  inset: 0;
  height: 100%;
  width: 100%;
  background-color: var(--background-color, transparent);
}

.block--section-wrapper.has-background-overlay > * {
  position: relative;
  z-index: 1;
}

.block--section-wrapper.is-style-torn-edge {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 4px rgba(0, 0, 0, 0.1));
}

.block--section-wrapper.is-style-torn-edge .torn-edge {
  position: absolute;
  inset: calc(100% - 1px) -1px 0 -1px;
  z-index: 1;
  width: calc(100% + 2px);
  max-width: none;
  height: 10px;
  margin-bottom: -10px;
  fill: var(--background-color);
}

.block--section-wrapper#hero {
  min-height: 650px;
  background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
  .block--section-wrapper#hero {
    padding-bottom: 0 !important;
    background-size: auto var(--hero-height) !important;
    background-position-y: top !important;
  }
  .block--section-wrapper#hero::before {
    height: var(--hero-height) !important;
  }
  .block--section-wrapper#hero .wp-block-heading {
    margin-block-start: 12px;
  }
}
.block--section-wrapper#hero .wp-block-heading.has-subheading-2-font-size {
  text-transform: none;
}

.editor-styles-wrapper .wp-block-lvl-section-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.editor-styles-wrapper .wp-block-lvl-section-wrapper:has(> .has-background-overlay) {
  background-color: transparent !important;
}

.editor-styles-wrapper .wp-block-lvl-section-wrapper:has(> .has-background-overlay) .block--section-wrapper::before {
  background-color: transparent !important;
}
