/* ===============================================
   Animated Background Block Styles - Paper.js Canvas
   =============================================== */

.animated-background {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #082935;
  /* background: linear-gradient(180deg,rgba(8, 41, 53, 1) 0%, rgba(3, 24, 31, 1) 100%); */
  background: linear-gradient(180deg, rgba(8, 41, 53, 1) 0%, rgba(2, 16, 23, 1) 100%);
  /* background: linear-gradient(180deg,rgba(8, 41, 53, 1) 0%, rgba(5, 32, 43, 1) 100%); */
  /* padding-top: 72px !important; */

}

.animated-background__canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: transparent !important;
}

/* Curtains animation specific styles */
.animated-background--curtains .animated-background__canvas {
  background: transparent !important;
}

.animated-background--curtains .curtain {
  width: 100%;
  height: 100%;
  background: transparent;
}

.animated-background--curtains .curtain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  /* Show the image for debugging */
}

/* Fallback for when curtains.js fails to load */
.no-curtains .animated-background__canvas {
  background: linear-gradient(45deg, rgba(8, 41, 53, 0.1) 0%, rgba(2, 16, 23, 0.1) 100%) !important;
}

.animated-background__content {
  position: relative;
  z-index: 2;
  max-width: 100vw !important;
  width: 100vw !important;
}

.animated-background__content .wp-block-media-text {
  margin: 0 auto !important;
}

@media (max-width: 1011px) {
  .animated-background__content .wp-block-media-text {
    flex-direction: column-reverse !important;
  }

  .animated-background__content .wp-block-media-text .wp-block-media-text__media {
    max-width: 540px !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 1012px) {
  .animated-background__content .wp-block-media-text {
    grid-template-columns: 54% 46% !important;
    grid-gap: 24px !important;
  }
}

@media (min-width: 1440px) {
  .animated-background__content .wp-block-media-text {
    grid-template-columns: 50% 50%;
  }
}

@media (min-width: 1640px) {
  .animated-background__content .wp-block-media-text {
    grid-template-columns: 50% 50%;
    grid-gap: 68px !important;
  }
}

/* @media (min-width: 1012px) {
  .animated-background__content .wp-block-media-text {
    width: 1680px;
  }

.animated-background__content .wp-block-media-text__media {
  pointer-events: none;
}

} */