.os-resource-download-hero {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  width: 100%;
  margin-block: 0 !important;
  padding-block: var(--section-space-xl) var(--section-space-m);
  background-color: var(--base);
  color: var(--white);
}

.wp-block-custom-blocks-resource-download-hero.alignfull {
  width: 100vw;
  max-width: 100vw;
}

#brx-content > .brxe-post-content:has(> .os-resource-download-hero) {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.editor-styles-wrapper div.block-editor-block-list__block.wp-block-custom-blocks-resource-download-hero.alignfull {
  box-sizing: border-box;
  position: relative;
  inset-inline: auto;
  width: calc(100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px));
  max-width: none;
  margin-inline: calc(-1 * var(--wp--style--root--padding-left, 0px)) calc(-1 * var(--wp--style--root--padding-right, 0px));
}

.editor-styles-wrapper .block-editor-block-list__block.wp-block-custom-blocks-resource-download-hero {
  margin-block: 0 !important;
}

.editor-styles-wrapper section.wp-block-custom-blocks-resource-download-hero.alignfull {
  position: static;
  inset-inline: auto;
  width: 100%;
  max-width: none;
  margin: 0;
}

.os-resource-download-hero__container {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xxl);
  align-items: start;
  width: var(--content-width-safe);
  max-width: var(--content-width);
  margin-inline: auto;
}

.os-resource-download-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  min-width: 0;
  color: var(--white);
}

.os-resource-download-hero__title-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
  color: var(--white);
}

.os-resource-download-hero__eyebrow {
  align-self: flex-start;
  width: max-content;
  margin: 0 !important;
  color: var(--primary);
  font-size: var(--text-m);
  font-weight: 500;
  line-height: 1.6;
  text-transform: uppercase;
}

.os-resource-download-hero__heading {
  margin: 0 !important;
  color: var(--white);
  font-size: var(--h1);
  font-weight: 900;
  line-height: 1.15;
}

.os-resource-download-hero__subheading {
  margin: var(--space-xs) 0 0 !important;
  color: var(--base-light);
  font-size: var(--text-l);
  font-weight: 400;
  line-height: 1.6;
}

.os-resource-download-hero__author-wrap {
  box-sizing: border-box;
  padding-block: var(--space-s);
  border-block: var(--divider-light);
}

.os-resource-download-hero__author {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-width: 0;
  padding: 0;
  border: 0;
}

.os-resource-download-hero__author-image {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid var(--base-light);
  border-radius: var(--radius-circle);
  object-fit: cover;
}

.os-resource-download-hero__author-name {
  color: var(--primary-semi-light);
  font-size: var(--text-m);
  font-weight: 700;
  line-height: 1.6;
}

.os-resource-download-hero__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  min-width: 0;
  color: var(--white);
  font-size: var(--text-m);
  line-height: 1.6;
}

.os-resource-download-hero__body > .acf-innerblocks-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  min-width: 0;
}

.os-resource-download-hero__body > .acf-innerblocks-container > * {
  min-width: 0;
  margin-block: 0 !important;
}

.os-resource-download-hero__body p {
  margin: 0 !important;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.os-resource-download-hero__form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  min-width: 0;
  padding: var(--space-l);
  border-radius: var(--space-l);
  background-color: var(--base-ultra-light);
  color: var(--base);
}

.os-resource-download-hero__form-heading {
  width: max-content;
  margin: 0 !important;
  color: var(--base);
  font-size: var(--h3);
  font-weight: 900;
  line-height: 1.3;
}

.os-resource-download-hero__form-subheading {
  margin: 0 !important;
  color: var(--base-dark);
  font-size: var(--text-m);
  font-weight: 400;
  line-height: 1.6;
}

.os-resource-download-hero__form-embed {
  width: 100%;
  min-width: 0;
}

.os-resource-download-hero__form-embed form {
  margin: 0 !important;
  padding: 0 !important;
}

.os-resource-download-hero__form-embed script {
  display: none;
}

.editor-styles-wrapper .block-editor-block-list__block.wp-block-custom-blocks-resource-download-hero {
  height: auto;
  margin-block: 0 !important;
}

.editor-styles-wrapper .os-resource-download-hero,
.editor-styles-wrapper .os-resource-download-hero__container,
.editor-styles-wrapper .os-resource-download-hero__copy,
.editor-styles-wrapper .os-resource-download-hero__form {
  height: auto;
}

@media (max-width: 991px) {
  .os-resource-download-hero__container {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-m);
  }
}

@media (max-width: 478px) {
  .os-resource-download-hero__form {
    padding: var(--space-m);
    border-radius: var(--space-m);
  }
}
