.image-content-block {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
}

.image-content-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.image-content-block.content-right .image-content-overlay {
}

.image-content-block.content-left .image-content-overlay {
}

.image-content-block .content-section {
  position: relative;
  z-index: 2;
  width: 50%;
  max-width: 600px;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: rgba(239, 248, 255, 0.2);
  backdrop-filter: blur(20px);

  & h1,
  & h2,
  & h3,
  & h4,
  & p,
  & li,
  &
    a:not(.wp-element-button):not(.dark-button):not(.lite-button):not(
      .ghost-button
    ) {
    color: #fff;
  }

  & h2,
  & h3,
  & h4 {
    text-wrap: balance;
  }

  & .wp-block-separator {
    border-color: #fff;
  }

  .wp-block-buttons:last-of-type {
    margin-top: 1em;
  }
}

.image-content-block .content-section > :last-child {
  margin-bottom: 0;
}

.image-content-block.content-right .content-section {
  margin-left: auto;
}

@media screen and (max-width: 1024px) {
  .image-content-block {
    background-color: var(--midnight);
    min-height: 400px;
    background-image: none !important;
  }
  .image-content-block {
    padding: 0;
  }
  .image-content-block.card .content-section,
  .image-content-block .content-section {
    width: 100%;
    max-width: none;
    padding: 40px 20px;
    background: none;
    backdrop-filter: blur(0px);
  }

  .image-content-block .image-content-overlay {
  }
}
